From cd52be34285977594f27e6aa71d034428e60efbc Mon Sep 17 00:00:00 2001 From: Nikolaos Dimopoulos Date: Sat, 1 Jul 2017 10:49:02 -0400 Subject: [PATCH] New Crowdin translations (#1064) * New translations Phalcon_Crypt.md (Vietnamese) * New translations Phalcon_Crypt.md (Ukrainian) * New translations Phalcon_Crypt.md (Turkish) * New translations Phalcon_Crypt.md (Spanish) * New translations Phalcon_Crypt.md (Japanese) * New translations Phalcon_Crypt.md (Indonesian) * New translations Phalcon_Crypt.md (Polish) * New translations Phalcon_Crypt.md (Portuguese) * New translations Phalcon_Crypt.md (Russian) * New translations Phalcon_Config_Adapter_Json.md (French) * New translations Phalcon_Config_Adapter_Json.md (Czech) * New translations Phalcon_Cli_Task.md (Arabic) * New translations Phalcon_Cli_Task.md (Bulgarian) * New translations Phalcon_Cli_Task.md (Bosnian) * New translations Phalcon_Cli_Task.md (Chinese Simplified) * New translations Phalcon_Cli_Task.md (Croatian) * New translations Phalcon_Cli_Task.md (Russian) * New translations Phalcon_Cli_Task.md (Portuguese) * New translations Phalcon_Cli_Task.md (Spanish) * New translations Phalcon_Cli_Task.md (Turkish) * New translations Phalcon_Cli_Task.md (Vietnamese) * New translations Phalcon_Cli_Task.md (Ukrainian) * New translations Phalcon_Cli_Task.md (Polish) * New translations Phalcon_Cli_Task.md (Japanese) * New translations Phalcon_Cli_Task.md (French) * New translations Phalcon_Cli_Task.md (Czech) * New translations Phalcon_Cli_Task.md (German) * New translations Phalcon_Cli_Task.md (Greek) * New translations Phalcon_Cli_Task.md (Indonesian) * New translations Phalcon_Cli_Task.md (Hungarian) * New translations Phalcon_Cli_Router_Route.md (Czech) * New translations Phalcon_Cli_Router_Route.md (Croatian) * New translations Phalcon_Cli_Router_Route.md (French) * New translations Phalcon_Cli_Router_Route.md (German) * New translations Phalcon_Cli_Router_Route.md (Hungarian) * New translations Phalcon_Cli_Router_Route.md (Greek) * New translations Phalcon_Cli_Router_Route.md (Chinese Simplified) * New translations Phalcon_Cli_Router_Route.md (Bulgarian) * New translations Phalcon_Cli_Router_Exception.md (Turkish) * New translations Phalcon_Cli_Router_Exception.md (Ukrainian) * New translations Phalcon_Cli_Router_Exception.md (Vietnamese) * New translations Phalcon_Cli_Router_Route.md (Bosnian) * New translations Phalcon_Cli_Router_Route.md (Arabic) * New translations Phalcon_Cli_Router_Route.md (Indonesian) * New translations Phalcon_Cli_Router_Route.md (Japanese) * New translations Phalcon_Cli_Router_Route.md (Vietnamese) * New translations Phalcon_Cli_Router_Route.md (Ukrainian) * New translations Phalcon_Cli_Router_Route.md (Portuguese) * New translations Phalcon_Cli_Router_Route.md (Polish) * New translations Phalcon_Cli_Router_Route.md (Russian) * New translations Phalcon_Cli_Router_Route.md (Spanish) * New translations Phalcon_Cli_Router_Route.md (Turkish) * New translations Phalcon_Config_Adapter_Ini.md (Croatian) * New translations Phalcon_Config_Adapter_Ini.md (Chinese Simplified) * New translations Phalcon_Config_Adapter_Ini.md (Czech) * New translations Phalcon_Config_Adapter_Ini.md (French) * New translations Phalcon_Config_Adapter_Ini.md (Greek) * New translations Phalcon_Config_Adapter_Ini.md (German) * New translations Phalcon_Config_Adapter_Ini.md (Bulgarian) * New translations Phalcon_Config_Adapter_Ini.md (Bosnian) * New translations Phalcon_Config.md (Spanish) * New translations Phalcon_Config.md (Russian) * New translations Phalcon_Config.md (Turkish) * New translations Phalcon_Config.md (Ukrainian) * New translations Phalcon_Config_Adapter_Ini.md (Arabic) * New translations Phalcon_Config.md (Vietnamese) * New translations Phalcon_Config_Adapter_Ini.md (Hungarian) * New translations Phalcon_Config_Adapter_Ini.md (Indonesian) * New translations Phalcon_Config_Adapter_Json.md (Arabic) * New translations Phalcon_Config_Adapter_Ini.md (Vietnamese) * New translations Phalcon_Config_Adapter_Json.md (Bosnian) * New translations Phalcon_Config_Adapter_Json.md (Bulgarian) * New translations Phalcon_Config_Adapter_Json.md (Croatian) * New translations Phalcon_Config_Adapter_Json.md (Chinese Simplified) * New translations Phalcon_Config_Adapter_Ini.md (Ukrainian) * New translations Phalcon_Config_Adapter_Ini.md (Turkish) * New translations Phalcon_Config_Adapter_Ini.md (Polish) * New translations Phalcon_Config_Adapter_Ini.md (Japanese) * New translations Phalcon_Config_Adapter_Ini.md (Portuguese) * New translations Phalcon_Config_Adapter_Ini.md (Russian) * New translations Phalcon_Config_Adapter_Ini.md (Spanish) * New translations Phalcon_Config.md (Portuguese) * New translations Phalcon_Config.md (Polish) * New translations Phalcon_Config.md (German) * New translations Phalcon_Config.md (French) * New translations Phalcon_Config.md (Greek) * New translations Phalcon_Config.md (Hungarian) * New translations Phalcon_Config.md (Japanese) * New translations Phalcon_Config.md (Indonesian) * New translations Phalcon_Config.md (Czech) * New translations Phalcon_Config.md (Croatian) * New translations Phalcon_Config.md (Arabic) * New translations Phalcon_Config.md (Bosnian) * New translations Phalcon_Config.md (Bulgarian) * New translations Phalcon_Config.md (Chinese Simplified) * New translations Phalcon_Forms_Element_Date.md (Czech) * New translations Phalcon_Forms_Element_Date.md (Croatian) * New translations Phalcon_Forms_Element_Date.md (French) * New translations Phalcon_Forms_Element_Date.md (German) * New translations Phalcon_Forms_Element_Date.md (Hungarian) * New translations Phalcon_Forms_Element_Date.md (Greek) * New translations Phalcon_Forms_Element_Date.md (Chinese Simplified) * New translations Phalcon_Forms_Element_Date.md (Bulgarian) * New translations Phalcon_Forms_Element_Check.md (Turkish) * New translations Phalcon_Forms_Element_Check.md (Spanish) * New translations Phalcon_Forms_Element_Check.md (Ukrainian) * New translations Phalcon_Forms_Element_Check.md (Vietnamese) * New translations Phalcon_Forms_Element_Date.md (Bosnian) * New translations Phalcon_Forms_Element_Date.md (Arabic) * New translations Phalcon_Forms_Element_Date.md (Indonesian) * New translations Phalcon_Forms_Element_Date.md (Japanese) * New translations Phalcon_Forms_Element_Email.md (Bulgarian) * New translations Phalcon_Forms_Element_Email.md (Bosnian) * New translations Phalcon_Forms_Element_Email.md (Chinese Simplified) * New translations Phalcon_Forms_Element_Email.md (Croatian) * New translations Phalcon_Forms_Element_Email.md (French) * New translations Phalcon_Forms_Element_Email.md (Czech) * New translations Phalcon_Forms_Element_Email.md (Arabic) * New translations Phalcon_Forms_Element_Date.md (Vietnamese) * New translations Phalcon_Forms_Element_Date.md (Portuguese) * New translations Phalcon_Forms_Element_Date.md (Polish) * New translations Phalcon_Forms_Element_Date.md (Russian) * New translations Phalcon_Forms_Element_Date.md (Spanish) * New translations Phalcon_Forms_Element_Date.md (Ukrainian) * New translations Phalcon_Forms_Element_Date.md (Turkish) * New translations Phalcon_Forms_Element_Check.md (Russian) * New translations Phalcon_Forms_Element_Check.md (Portuguese) * New translations Phalcon_Forms_ElementInterface.md (Polish) * New translations Phalcon_Forms_ElementInterface.md (Japanese) * New translations Phalcon_Forms_ElementInterface.md (Portuguese) * New translations Phalcon_Forms_ElementInterface.md (Russian) * New translations Phalcon_Forms_ElementInterface.md (Turkish) * New translations Phalcon_Forms_ElementInterface.md (Spanish) * New translations Phalcon_Forms_ElementInterface.md (Indonesian) * New translations Phalcon_Forms_ElementInterface.md (Hungarian) * New translations Phalcon_Forms_ElementInterface.md (Croatian) * New translations Phalcon_Forms_ElementInterface.md (Chinese Simplified) * New translations Phalcon_Forms_ElementInterface.md (Czech) * New translations Phalcon_Forms_ElementInterface.md (French) * New translations Phalcon_Forms_ElementInterface.md (Greek) * New translations Phalcon_Forms_ElementInterface.md (German) * New translations Phalcon_Forms_ElementInterface.md (Ukrainian) * New translations Phalcon_Forms_ElementInterface.md (Vietnamese) * New translations Phalcon_Forms_Element_Check.md (Greek) * New translations Phalcon_Forms_Element_Check.md (German) * New translations Phalcon_Forms_Element_Check.md (Hungarian) * New translations Phalcon_Forms_Element_Check.md (Indonesian) * New translations Phalcon_Forms_Element_Check.md (Polish) * New translations Phalcon_Forms_Element_Check.md (Japanese) * New translations Phalcon_Forms_Element_Check.md (French) * New translations Phalcon_Forms_Element_Check.md (Czech) * New translations Phalcon_Forms_Element_Check.md (Bosnian) * New translations Phalcon_Forms_Element_Check.md (Arabic) * New translations Phalcon_Forms_Element_Check.md (Bulgarian) * New translations Phalcon_Forms_Element_Check.md (Chinese Simplified) * New translations Phalcon_Forms_Element_Check.md (Croatian) * New translations Phalcon_Forms_Element_Email.md (German) * New translations Phalcon_Forms_Element_Email.md (Greek) * New translations Phalcon_Forms_Element_Hidden.md (Japanese) * New translations Phalcon_Forms_Element_Hidden.md (Indonesian) * New translations Phalcon_Forms_Element_Hidden.md (Polish) * New translations Phalcon_Forms_Element_Hidden.md (Portuguese) * New translations Phalcon_Forms_Element_Hidden.md (Spanish) * New translations Phalcon_Forms_Element_Hidden.md (Russian) * New translations Phalcon_Forms_Element_Hidden.md (Hungarian) * New translations Phalcon_Forms_Element_Hidden.md (Greek) * New translations Phalcon_Forms_Element_Hidden.md (Chinese Simplified) * New translations Phalcon_Forms_Element_Hidden.md (Bulgarian) * New translations Phalcon_Forms_Element_Hidden.md (Croatian) * New translations Phalcon_Forms_Element_Hidden.md (Czech) * New translations Phalcon_Forms_Element_Hidden.md (German) * New translations Phalcon_Forms_Element_Hidden.md (French) * New translations Phalcon_Forms_Element_Hidden.md (Turkish) * New translations Phalcon_Forms_Element_Hidden.md (Ukrainian) * New translations Phalcon_Forms_Element_Numeric.md (Greek) * New translations Phalcon_Forms_Element_Numeric.md (German) * New translations Phalcon_Forms_Element_Numeric.md (Hungarian) * New translations Phalcon_Forms_Element_Numeric.md (Indonesian) * New translations Phalcon_Forms_Element_Numeric.md (Polish) * New translations Phalcon_Forms_Element_Numeric.md (Japanese) * New translations Phalcon_Forms_Element_Numeric.md (French) * New translations Phalcon_Forms_Element_Numeric.md (Czech) * New translations Phalcon_Forms_Element_Numeric.md (Arabic) * New translations Phalcon_Forms_Element_Hidden.md (Vietnamese) * New translations Phalcon_Forms_Element_Numeric.md (Bosnian) * New translations Phalcon_Forms_Element_Numeric.md (Bulgarian) * New translations Phalcon_Forms_Element_Numeric.md (Croatian) * New translations Phalcon_Forms_Element_Numeric.md (Chinese Simplified) * New translations Phalcon_Forms_Element_Hidden.md (Bosnian) * New translations Phalcon_Forms_Element_Hidden.md (Arabic) * New translations Phalcon_Forms_Element_Email.md (Vietnamese) * New translations Phalcon_Forms_Element_Email.md (Ukrainian) * New translations Phalcon_Forms_Element_File.md (Arabic) * New translations Phalcon_Forms_Element_File.md (Bosnian) * New translations Phalcon_Forms_Element_File.md (Chinese Simplified) * New translations Phalcon_Forms_Element_File.md (Bulgarian) * New translations Phalcon_Forms_Element_Email.md (Turkish) * New translations Phalcon_Forms_Element_Email.md (Spanish) * New translations Phalcon_Forms_Element_Email.md (Indonesian) * New translations Phalcon_Forms_Element_Email.md (Hungarian) * New translations Phalcon_Forms_Element_Email.md (Japanese) * New translations Phalcon_Forms_Element_Email.md (Polish) * New translations Phalcon_Forms_Element_Email.md (Russian) * New translations Phalcon_Forms_Element_Email.md (Portuguese) * New translations Phalcon_Forms_Element_File.md (Croatian) * New translations Phalcon_Forms_Element_File.md (Czech) * New translations Phalcon_Forms_Element_File.md (Russian) * New translations Phalcon_Forms_Element_File.md (Portuguese) * New translations Phalcon_Forms_Element_File.md (Spanish) * New translations Phalcon_Forms_Element_File.md (Turkish) * New translations Phalcon_Forms_Element_File.md (Vietnamese) * New translations Phalcon_Forms_Element_File.md (Ukrainian) * New translations Phalcon_Forms_Element_File.md (Polish) * New translations Phalcon_Forms_Element_File.md (Japanese) * New translations Phalcon_Forms_Element_File.md (German) * New translations Phalcon_Forms_Element_File.md (French) * New translations Phalcon_Forms_Element_File.md (Greek) * New translations Phalcon_Forms_Element_File.md (Hungarian) * New translations Phalcon_Forms_Element_File.md (Indonesian) * New translations Phalcon_Forms_ElementInterface.md (Bulgarian) * New translations Phalcon_Forms_ElementInterface.md (Bosnian) * New translations Phalcon_Flash_Direct.md (Arabic) * New translations Phalcon_Flash_Direct.md (Indonesian) * New translations Phalcon_Flash_Direct.md (Hungarian) * New translations Phalcon_Flash_Direct.md (Japanese) * New translations Phalcon_Flash_Direct.md (Polish) * New translations Phalcon_Flash_Direct.md (Russian) * New translations Phalcon_Flash_Direct.md (Portuguese) * New translations Phalcon_Flash_Direct.md (Greek) * New translations Phalcon_Flash_Direct.md (German) * New translations Phalcon_Flash_Direct.md (Bulgarian) * New translations Phalcon_Flash_Direct.md (Bosnian) * New translations Phalcon_Flash_Direct.md (Chinese Simplified) * New translations Phalcon_Flash_Direct.md (Croatian) * New translations Phalcon_Flash_Direct.md (French) * New translations Phalcon_Flash_Direct.md (Czech) * New translations Phalcon_Flash.md (Bosnian) * New translations Phalcon_Flash.md (Arabic) * New translations Phalcon_Flash.md (Bulgarian) * New translations Phalcon_Flash.md (Chinese Simplified) * New translations Phalcon_Flash.md (Czech) * New translations Phalcon_Flash.md (Croatian) * New translations Phalcon_Flash.md (French) * New translations Phalcon_Flash.md (German) * New translations Phalcon_Flash.md (Turkish) * New translations Phalcon_Flash.md (Spanish) * New translations Phalcon_Flash.md (Ukrainian) * New translations Phalcon_Flash.md (Vietnamese) * New translations Phalcon_Flash.md (Russian) * New translations Phalcon_Flash.md (Portuguese) --- ar/api/Phalcon_Cli_Router_Route.md | 4 +- ar/api/Phalcon_Cli_Task.md | 14 ++--- ar/api/Phalcon_Config.md | 25 ++++++++- ar/api/Phalcon_Config_Adapter_Ini.md | 45 +++++++++++---- ar/api/Phalcon_Config_Adapter_Json.md | 45 +++++++++++---- ar/api/Phalcon_Config_Adapter_Php.md | 45 +++++++++++---- ar/api/Phalcon_Config_Adapter_Yaml.md | 45 +++++++++++---- ar/api/Phalcon_Config_Exception.md | 2 +- ar/api/Phalcon_Crypt.md | 2 +- ar/api/Phalcon_Crypt_Exception.md | 2 +- ar/api/Phalcon_Flash.md | 8 +-- ar/api/Phalcon_Flash_Direct.md | 36 ++++++------ ar/api/Phalcon_Forms_Element_Check.md | 68 +++++++++++------------ ar/api/Phalcon_Forms_Element_Date.md | 68 +++++++++++------------ ar/api/Phalcon_Forms_Element_Email.md | 68 +++++++++++------------ ar/api/Phalcon_Forms_Element_File.md | 68 +++++++++++------------ ar/api/Phalcon_Forms_Element_Hidden.md | 68 +++++++++++------------ ar/api/Phalcon_Forms_Element_Numeric.md | 68 +++++++++++------------ bg/api/Phalcon_Cli_Router_Route.md | 4 +- bg/api/Phalcon_Cli_Task.md | 14 ++--- bg/api/Phalcon_Config.md | 25 ++++++++- bg/api/Phalcon_Config_Adapter_Ini.md | 45 +++++++++++---- bg/api/Phalcon_Config_Adapter_Json.md | 45 +++++++++++---- bg/api/Phalcon_Config_Adapter_Php.md | 45 +++++++++++---- bg/api/Phalcon_Config_Adapter_Yaml.md | 45 +++++++++++---- bg/api/Phalcon_Config_Exception.md | 2 +- bg/api/Phalcon_Crypt.md | 2 +- bg/api/Phalcon_Crypt_Exception.md | 2 +- bg/api/Phalcon_Flash.md | 8 +-- bg/api/Phalcon_Flash_Direct.md | 36 ++++++------ bg/api/Phalcon_Forms_ElementInterface.md | 8 +-- bg/api/Phalcon_Forms_Element_Check.md | 68 +++++++++++------------ bg/api/Phalcon_Forms_Element_Date.md | 68 +++++++++++------------ bg/api/Phalcon_Forms_Element_Email.md | 68 +++++++++++------------ bg/api/Phalcon_Forms_Element_File.md | 68 +++++++++++------------ bg/api/Phalcon_Forms_Element_Hidden.md | 68 +++++++++++------------ bg/api/Phalcon_Forms_Element_Numeric.md | 68 +++++++++++------------ bs/api/Phalcon_Cli_Router_Route.md | 4 +- bs/api/Phalcon_Cli_Task.md | 14 ++--- bs/api/Phalcon_Config.md | 25 ++++++++- bs/api/Phalcon_Config_Adapter_Ini.md | 45 +++++++++++---- bs/api/Phalcon_Config_Adapter_Json.md | 45 +++++++++++---- bs/api/Phalcon_Config_Adapter_Php.md | 45 +++++++++++---- bs/api/Phalcon_Config_Adapter_Yaml.md | 45 +++++++++++---- bs/api/Phalcon_Config_Exception.md | 2 +- bs/api/Phalcon_Crypt.md | 2 +- bs/api/Phalcon_Crypt_Exception.md | 2 +- bs/api/Phalcon_Flash.md | 8 +-- bs/api/Phalcon_Flash_Direct.md | 36 ++++++------ bs/api/Phalcon_Forms_ElementInterface.md | 8 +-- bs/api/Phalcon_Forms_Element_Check.md | 68 +++++++++++------------ bs/api/Phalcon_Forms_Element_Date.md | 68 +++++++++++------------ bs/api/Phalcon_Forms_Element_Email.md | 68 +++++++++++------------ bs/api/Phalcon_Forms_Element_File.md | 68 +++++++++++------------ bs/api/Phalcon_Forms_Element_Hidden.md | 68 +++++++++++------------ bs/api/Phalcon_Forms_Element_Numeric.md | 68 +++++++++++------------ cs/api/Phalcon_Cli_Router_Route.md | 4 +- cs/api/Phalcon_Cli_Task.md | 14 ++--- cs/api/Phalcon_Config.md | 25 ++++++++- cs/api/Phalcon_Config_Adapter_Ini.md | 45 +++++++++++---- cs/api/Phalcon_Config_Adapter_Json.md | 45 +++++++++++---- cs/api/Phalcon_Config_Adapter_Php.md | 45 +++++++++++---- cs/api/Phalcon_Config_Adapter_Yaml.md | 45 +++++++++++---- cs/api/Phalcon_Config_Exception.md | 2 +- cs/api/Phalcon_Crypt.md | 2 +- cs/api/Phalcon_Crypt_Exception.md | 2 +- cs/api/Phalcon_Flash.md | 8 +-- cs/api/Phalcon_Flash_Direct.md | 36 ++++++------ cs/api/Phalcon_Forms_ElementInterface.md | 8 +-- cs/api/Phalcon_Forms_Element_Check.md | 68 +++++++++++------------ cs/api/Phalcon_Forms_Element_Date.md | 68 +++++++++++------------ cs/api/Phalcon_Forms_Element_Email.md | 68 +++++++++++------------ cs/api/Phalcon_Forms_Element_File.md | 68 +++++++++++------------ cs/api/Phalcon_Forms_Element_Hidden.md | 68 +++++++++++------------ cs/api/Phalcon_Forms_Element_Numeric.md | 68 +++++++++++------------ de/api/Phalcon_Cli_Router_Route.md | 4 +- de/api/Phalcon_Cli_Task.md | 14 ++--- de/api/Phalcon_Config.md | 25 ++++++++- de/api/Phalcon_Config_Adapter_Ini.md | 45 +++++++++++---- de/api/Phalcon_Config_Adapter_Json.md | 45 +++++++++++---- de/api/Phalcon_Config_Adapter_Php.md | 45 +++++++++++---- de/api/Phalcon_Config_Adapter_Yaml.md | 45 +++++++++++---- de/api/Phalcon_Config_Exception.md | 2 +- de/api/Phalcon_Crypt.md | 2 +- de/api/Phalcon_Crypt_Exception.md | 2 +- de/api/Phalcon_Flash.md | 8 +-- de/api/Phalcon_Flash_Direct.md | 36 ++++++------ de/api/Phalcon_Forms_ElementInterface.md | 8 +-- de/api/Phalcon_Forms_Element_Check.md | 68 +++++++++++------------ de/api/Phalcon_Forms_Element_Date.md | 68 +++++++++++------------ de/api/Phalcon_Forms_Element_Email.md | 68 +++++++++++------------ de/api/Phalcon_Forms_Element_File.md | 68 +++++++++++------------ de/api/Phalcon_Forms_Element_Hidden.md | 68 +++++++++++------------ de/api/Phalcon_Forms_Element_Numeric.md | 68 +++++++++++------------ el/api/Phalcon_Cli_Router_Route.md | 4 +- el/api/Phalcon_Cli_Task.md | 14 ++--- el/api/Phalcon_Config.md | 25 ++++++++- el/api/Phalcon_Config_Adapter_Ini.md | 45 +++++++++++---- el/api/Phalcon_Config_Adapter_Json.md | 45 +++++++++++---- el/api/Phalcon_Config_Adapter_Php.md | 45 +++++++++++---- el/api/Phalcon_Config_Adapter_Yaml.md | 45 +++++++++++---- el/api/Phalcon_Config_Exception.md | 2 +- el/api/Phalcon_Crypt.md | 2 +- el/api/Phalcon_Crypt_Exception.md | 2 +- el/api/Phalcon_Flash_Direct.md | 36 ++++++------ el/api/Phalcon_Forms_ElementInterface.md | 8 +-- el/api/Phalcon_Forms_Element_Check.md | 68 +++++++++++------------ el/api/Phalcon_Forms_Element_Date.md | 68 +++++++++++------------ el/api/Phalcon_Forms_Element_Email.md | 68 +++++++++++------------ el/api/Phalcon_Forms_Element_File.md | 68 +++++++++++------------ el/api/Phalcon_Forms_Element_Hidden.md | 68 +++++++++++------------ el/api/Phalcon_Forms_Element_Numeric.md | 68 +++++++++++------------ es/api/Phalcon_Cli_Router_Route.md | 4 +- es/api/Phalcon_Cli_Task.md | 14 ++--- es/api/Phalcon_Config.md | 25 ++++++++- es/api/Phalcon_Config_Adapter_Ini.md | 45 +++++++++++---- es/api/Phalcon_Config_Adapter_Json.md | 45 +++++++++++---- es/api/Phalcon_Config_Adapter_Php.md | 45 +++++++++++---- es/api/Phalcon_Config_Adapter_Yaml.md | 45 +++++++++++---- es/api/Phalcon_Config_Exception.md | 2 +- es/api/Phalcon_Crypt.md | 2 +- es/api/Phalcon_Crypt_Exception.md | 2 +- es/api/Phalcon_Flash.md | 8 +-- es/api/Phalcon_Forms_ElementInterface.md | 8 +-- es/api/Phalcon_Forms_Element_Check.md | 68 +++++++++++------------ es/api/Phalcon_Forms_Element_Date.md | 68 +++++++++++------------ es/api/Phalcon_Forms_Element_Email.md | 68 +++++++++++------------ es/api/Phalcon_Forms_Element_File.md | 68 +++++++++++------------ es/api/Phalcon_Forms_Element_Hidden.md | 68 +++++++++++------------ fr/api/Phalcon_Cli_Router_Route.md | 4 +- fr/api/Phalcon_Cli_Task.md | 14 ++--- fr/api/Phalcon_Config.md | 25 ++++++++- fr/api/Phalcon_Config_Adapter_Ini.md | 45 +++++++++++---- fr/api/Phalcon_Config_Adapter_Json.md | 45 +++++++++++---- fr/api/Phalcon_Config_Adapter_Php.md | 45 +++++++++++---- fr/api/Phalcon_Config_Adapter_Yaml.md | 45 +++++++++++---- fr/api/Phalcon_Config_Exception.md | 2 +- fr/api/Phalcon_Crypt.md | 2 +- fr/api/Phalcon_Crypt_Exception.md | 2 +- fr/api/Phalcon_Flash.md | 8 +-- fr/api/Phalcon_Flash_Direct.md | 36 ++++++------ fr/api/Phalcon_Forms_ElementInterface.md | 8 +-- fr/api/Phalcon_Forms_Element_Check.md | 68 +++++++++++------------ fr/api/Phalcon_Forms_Element_Date.md | 68 +++++++++++------------ fr/api/Phalcon_Forms_Element_Email.md | 68 +++++++++++------------ fr/api/Phalcon_Forms_Element_File.md | 68 +++++++++++------------ fr/api/Phalcon_Forms_Element_Hidden.md | 68 +++++++++++------------ fr/api/Phalcon_Forms_Element_Numeric.md | 68 +++++++++++------------ hr/api/Phalcon_Cli_Router_Route.md | 4 +- hr/api/Phalcon_Cli_Task.md | 14 ++--- hr/api/Phalcon_Config.md | 25 ++++++++- hr/api/Phalcon_Config_Adapter_Ini.md | 45 +++++++++++---- hr/api/Phalcon_Config_Adapter_Json.md | 45 +++++++++++---- hr/api/Phalcon_Config_Adapter_Php.md | 45 +++++++++++---- hr/api/Phalcon_Config_Adapter_Yaml.md | 45 +++++++++++---- hr/api/Phalcon_Config_Exception.md | 2 +- hr/api/Phalcon_Crypt.md | 2 +- hr/api/Phalcon_Crypt_Exception.md | 2 +- hr/api/Phalcon_Flash.md | 8 +-- hr/api/Phalcon_Flash_Direct.md | 36 ++++++------ hr/api/Phalcon_Forms_ElementInterface.md | 8 +-- hr/api/Phalcon_Forms_Element_Check.md | 68 +++++++++++------------ hr/api/Phalcon_Forms_Element_Date.md | 68 +++++++++++------------ hr/api/Phalcon_Forms_Element_Email.md | 68 +++++++++++------------ hr/api/Phalcon_Forms_Element_File.md | 68 +++++++++++------------ hr/api/Phalcon_Forms_Element_Hidden.md | 68 +++++++++++------------ hr/api/Phalcon_Forms_Element_Numeric.md | 68 +++++++++++------------ hu/api/Phalcon_Cli_Router_Route.md | 4 +- hu/api/Phalcon_Cli_Task.md | 14 ++--- hu/api/Phalcon_Config.md | 25 ++++++++- hu/api/Phalcon_Config_Adapter_Ini.md | 45 +++++++++++---- hu/api/Phalcon_Config_Adapter_Json.md | 45 +++++++++++---- hu/api/Phalcon_Config_Adapter_Php.md | 45 +++++++++++---- hu/api/Phalcon_Config_Adapter_Yaml.md | 45 +++++++++++---- hu/api/Phalcon_Config_Exception.md | 2 +- hu/api/Phalcon_Crypt.md | 2 +- hu/api/Phalcon_Crypt_Exception.md | 2 +- hu/api/Phalcon_Flash_Direct.md | 36 ++++++------ hu/api/Phalcon_Forms_ElementInterface.md | 8 +-- hu/api/Phalcon_Forms_Element_Check.md | 68 +++++++++++------------ hu/api/Phalcon_Forms_Element_Date.md | 68 +++++++++++------------ hu/api/Phalcon_Forms_Element_Email.md | 68 +++++++++++------------ hu/api/Phalcon_Forms_Element_File.md | 68 +++++++++++------------ hu/api/Phalcon_Forms_Element_Hidden.md | 68 +++++++++++------------ hu/api/Phalcon_Forms_Element_Numeric.md | 68 +++++++++++------------ id/api/Phalcon_Cli_Router_Route.md | 4 +- id/api/Phalcon_Cli_Task.md | 14 ++--- id/api/Phalcon_Config.md | 25 ++++++++- id/api/Phalcon_Config_Adapter_Ini.md | 45 +++++++++++---- id/api/Phalcon_Config_Adapter_Json.md | 45 +++++++++++---- id/api/Phalcon_Config_Adapter_Php.md | 45 +++++++++++---- id/api/Phalcon_Config_Adapter_Yaml.md | 45 +++++++++++---- id/api/Phalcon_Config_Exception.md | 2 +- id/api/Phalcon_Crypt.md | 2 +- id/api/Phalcon_Crypt_Exception.md | 2 +- id/api/Phalcon_Flash_Direct.md | 36 ++++++------ id/api/Phalcon_Forms_ElementInterface.md | 8 +-- id/api/Phalcon_Forms_Element_Check.md | 68 +++++++++++------------ id/api/Phalcon_Forms_Element_Date.md | 68 +++++++++++------------ id/api/Phalcon_Forms_Element_Email.md | 68 +++++++++++------------ id/api/Phalcon_Forms_Element_File.md | 68 +++++++++++------------ id/api/Phalcon_Forms_Element_Hidden.md | 68 +++++++++++------------ id/api/Phalcon_Forms_Element_Numeric.md | 68 +++++++++++------------ ja/api/Phalcon_Cli_Router_Route.md | 4 +- ja/api/Phalcon_Cli_Task.md | 14 ++--- ja/api/Phalcon_Config.md | 25 ++++++++- ja/api/Phalcon_Config_Adapter_Ini.md | 45 +++++++++++---- ja/api/Phalcon_Config_Adapter_Json.md | 45 +++++++++++---- ja/api/Phalcon_Config_Adapter_Php.md | 45 +++++++++++---- ja/api/Phalcon_Config_Adapter_Yaml.md | 45 +++++++++++---- ja/api/Phalcon_Config_Exception.md | 2 +- ja/api/Phalcon_Crypt.md | 2 +- ja/api/Phalcon_Crypt_Exception.md | 2 +- ja/api/Phalcon_Flash_Direct.md | 36 ++++++------ ja/api/Phalcon_Forms_ElementInterface.md | 8 +-- ja/api/Phalcon_Forms_Element_Check.md | 68 +++++++++++------------ ja/api/Phalcon_Forms_Element_Date.md | 68 +++++++++++------------ ja/api/Phalcon_Forms_Element_Email.md | 68 +++++++++++------------ ja/api/Phalcon_Forms_Element_File.md | 68 +++++++++++------------ ja/api/Phalcon_Forms_Element_Hidden.md | 68 +++++++++++------------ ja/api/Phalcon_Forms_Element_Numeric.md | 68 +++++++++++------------ pl/api/Phalcon_Cache_Frontend_Igbinary.md | 4 +- pl/api/Phalcon_Cli_Router_Route.md | 4 +- pl/api/Phalcon_Cli_Task.md | 14 ++--- pl/api/Phalcon_Config.md | 25 ++++++++- pl/api/Phalcon_Config_Adapter_Ini.md | 45 +++++++++++---- pl/api/Phalcon_Config_Adapter_Json.md | 45 +++++++++++---- pl/api/Phalcon_Config_Adapter_Php.md | 45 +++++++++++---- pl/api/Phalcon_Config_Adapter_Yaml.md | 45 +++++++++++---- pl/api/Phalcon_Config_Exception.md | 2 +- pl/api/Phalcon_Crypt.md | 2 +- pl/api/Phalcon_Crypt_Exception.md | 2 +- pl/api/Phalcon_Flash_Direct.md | 36 ++++++------ pl/api/Phalcon_Forms_ElementInterface.md | 8 +-- pl/api/Phalcon_Forms_Element_Check.md | 68 +++++++++++------------ pl/api/Phalcon_Forms_Element_Date.md | 68 +++++++++++------------ pl/api/Phalcon_Forms_Element_Email.md | 68 +++++++++++------------ pl/api/Phalcon_Forms_Element_File.md | 68 +++++++++++------------ pl/api/Phalcon_Forms_Element_Hidden.md | 68 +++++++++++------------ pl/api/Phalcon_Forms_Element_Numeric.md | 68 +++++++++++------------ pt/api/Phalcon_Cli_Router_Route.md | 4 +- pt/api/Phalcon_Cli_Task.md | 14 ++--- pt/api/Phalcon_Config.md | 25 ++++++++- pt/api/Phalcon_Config_Adapter_Ini.md | 45 +++++++++++---- pt/api/Phalcon_Config_Adapter_Json.md | 45 +++++++++++---- pt/api/Phalcon_Config_Adapter_Php.md | 45 +++++++++++---- pt/api/Phalcon_Config_Adapter_Yaml.md | 45 +++++++++++---- pt/api/Phalcon_Config_Exception.md | 2 +- pt/api/Phalcon_Crypt.md | 2 +- pt/api/Phalcon_Crypt_Exception.md | 2 +- pt/api/Phalcon_Flash.md | 8 +-- pt/api/Phalcon_Flash_Direct.md | 36 ++++++------ pt/api/Phalcon_Forms_ElementInterface.md | 8 +-- pt/api/Phalcon_Forms_Element_Check.md | 68 +++++++++++------------ pt/api/Phalcon_Forms_Element_Date.md | 68 +++++++++++------------ pt/api/Phalcon_Forms_Element_Email.md | 68 +++++++++++------------ pt/api/Phalcon_Forms_Element_File.md | 68 +++++++++++------------ pt/api/Phalcon_Forms_Element_Hidden.md | 68 +++++++++++------------ ru/api/Phalcon_Cli_Router_Route.md | 4 +- ru/api/Phalcon_Cli_Task.md | 14 ++--- ru/api/Phalcon_Config.md | 25 ++++++++- ru/api/Phalcon_Config_Adapter_Ini.md | 45 +++++++++++---- ru/api/Phalcon_Config_Adapter_Json.md | 45 +++++++++++---- ru/api/Phalcon_Config_Adapter_Php.md | 45 +++++++++++---- ru/api/Phalcon_Config_Adapter_Yaml.md | 45 +++++++++++---- ru/api/Phalcon_Config_Exception.md | 2 +- ru/api/Phalcon_Crypt.md | 2 +- ru/api/Phalcon_Crypt_Exception.md | 2 +- ru/api/Phalcon_Flash.md | 8 +-- ru/api/Phalcon_Flash_Direct.md | 36 ++++++------ ru/api/Phalcon_Forms_ElementInterface.md | 8 +-- ru/api/Phalcon_Forms_Element_Check.md | 68 +++++++++++------------ ru/api/Phalcon_Forms_Element_Date.md | 68 +++++++++++------------ ru/api/Phalcon_Forms_Element_Email.md | 68 +++++++++++------------ ru/api/Phalcon_Forms_Element_File.md | 68 +++++++++++------------ ru/api/Phalcon_Forms_Element_Hidden.md | 68 +++++++++++------------ tr/api/Phalcon_Cli_Router_Exception.md | 2 +- tr/api/Phalcon_Cli_Router_Route.md | 4 +- tr/api/Phalcon_Cli_Task.md | 14 ++--- tr/api/Phalcon_Config.md | 25 ++++++++- tr/api/Phalcon_Config_Adapter_Ini.md | 45 +++++++++++---- tr/api/Phalcon_Config_Adapter_Json.md | 45 +++++++++++---- tr/api/Phalcon_Config_Adapter_Php.md | 45 +++++++++++---- tr/api/Phalcon_Config_Adapter_Yaml.md | 45 +++++++++++---- tr/api/Phalcon_Config_Exception.md | 2 +- tr/api/Phalcon_Crypt.md | 2 +- tr/api/Phalcon_Crypt_Exception.md | 2 +- tr/api/Phalcon_Flash.md | 8 +-- tr/api/Phalcon_Forms_ElementInterface.md | 8 +-- tr/api/Phalcon_Forms_Element_Check.md | 68 +++++++++++------------ tr/api/Phalcon_Forms_Element_Date.md | 68 +++++++++++------------ tr/api/Phalcon_Forms_Element_Email.md | 68 +++++++++++------------ tr/api/Phalcon_Forms_Element_File.md | 68 +++++++++++------------ tr/api/Phalcon_Forms_Element_Hidden.md | 68 +++++++++++------------ uk/api/Phalcon_Cli_Router_Exception.md | 2 +- uk/api/Phalcon_Cli_Router_Route.md | 4 +- uk/api/Phalcon_Cli_Task.md | 14 ++--- uk/api/Phalcon_Config.md | 25 ++++++++- uk/api/Phalcon_Config_Adapter_Ini.md | 45 +++++++++++---- uk/api/Phalcon_Config_Adapter_Json.md | 45 +++++++++++---- uk/api/Phalcon_Config_Adapter_Php.md | 45 +++++++++++---- uk/api/Phalcon_Config_Adapter_Yaml.md | 45 +++++++++++---- uk/api/Phalcon_Config_Exception.md | 2 +- uk/api/Phalcon_Crypt.md | 2 +- uk/api/Phalcon_Flash.md | 8 +-- uk/api/Phalcon_Forms_ElementInterface.md | 8 +-- uk/api/Phalcon_Forms_Element_Check.md | 68 +++++++++++------------ uk/api/Phalcon_Forms_Element_Date.md | 68 +++++++++++------------ uk/api/Phalcon_Forms_Element_Email.md | 68 +++++++++++------------ uk/api/Phalcon_Forms_Element_File.md | 68 +++++++++++------------ uk/api/Phalcon_Forms_Element_Hidden.md | 68 +++++++++++------------ vi/api/Phalcon_Cli_Router_Exception.md | 2 +- vi/api/Phalcon_Cli_Router_Route.md | 4 +- vi/api/Phalcon_Cli_Task.md | 14 ++--- vi/api/Phalcon_Config.md | 25 ++++++++- vi/api/Phalcon_Config_Adapter_Ini.md | 45 +++++++++++---- vi/api/Phalcon_Config_Adapter_Json.md | 45 +++++++++++---- vi/api/Phalcon_Config_Adapter_Php.md | 45 +++++++++++---- vi/api/Phalcon_Config_Adapter_Yaml.md | 45 +++++++++++---- vi/api/Phalcon_Config_Exception.md | 2 +- vi/api/Phalcon_Crypt.md | 2 +- vi/api/Phalcon_Flash.md | 8 +-- vi/api/Phalcon_Forms_ElementInterface.md | 8 +-- vi/api/Phalcon_Forms_Element_Check.md | 68 +++++++++++------------ vi/api/Phalcon_Forms_Element_Date.md | 68 +++++++++++------------ vi/api/Phalcon_Forms_Element_Email.md | 68 +++++++++++------------ vi/api/Phalcon_Forms_Element_File.md | 68 +++++++++++------------ vi/api/Phalcon_Forms_Element_Hidden.md | 68 +++++++++++------------ zh/api/Phalcon_Cli_Router_Route.md | 4 +- zh/api/Phalcon_Cli_Task.md | 14 ++--- zh/api/Phalcon_Config.md | 25 ++++++++- zh/api/Phalcon_Config_Adapter_Ini.md | 45 +++++++++++---- zh/api/Phalcon_Config_Adapter_Json.md | 45 +++++++++++---- zh/api/Phalcon_Config_Adapter_Php.md | 45 +++++++++++---- zh/api/Phalcon_Config_Adapter_Yaml.md | 45 +++++++++++---- zh/api/Phalcon_Config_Exception.md | 2 +- zh/api/Phalcon_Crypt.md | 2 +- zh/api/Phalcon_Crypt_Exception.md | 2 +- zh/api/Phalcon_Flash.md | 8 +-- zh/api/Phalcon_Flash_Direct.md | 36 ++++++------ zh/api/Phalcon_Forms_ElementInterface.md | 8 +-- zh/api/Phalcon_Forms_Element_Check.md | 68 +++++++++++------------ zh/api/Phalcon_Forms_Element_Date.md | 68 +++++++++++------------ zh/api/Phalcon_Forms_Element_Email.md | 68 +++++++++++------------ zh/api/Phalcon_Forms_Element_File.md | 68 +++++++++++------------ zh/api/Phalcon_Forms_Element_Hidden.md | 68 +++++++++++------------ zh/api/Phalcon_Forms_Element_Numeric.md | 68 +++++++++++------------ 347 files changed, 7341 insertions(+), 5156 deletions(-) diff --git a/ar/api/Phalcon_Cli_Router_Route.md b/ar/api/Phalcon_Cli_Router_Route.md index 73e76009acee..290d5404abd8 100644 --- a/ar/api/Phalcon_Cli_Router_Route.md +++ b/ar/api/Phalcon_Cli_Router_Route.md @@ -46,7 +46,7 @@ $router->add( ``` -public [Phalcon\Cli\Router\Route](/en/3.1.2/api/Phalcon_Cli_Router_Route) **beforeMatch** (*callback* $callback) +public [Phalcon\Cli\Router\Route](/en/3.2/api/Phalcon_Cli_Router_Route) **beforeMatch** (*callback* $callback) Sets a callback that is called if the route is matched. The developer can implement any arbitrary conditions here If the callback returns false the route is treated as not matched @@ -74,7 +74,7 @@ public **getReversedPaths** () Returns the paths using positions as keys and names as values -public [Phalcon\Cli\Router\Route](/en/3.1.2/api/Phalcon_Cli_Router_Route) **convert** (*string* $name, *callable* $converter) +public [Phalcon\Cli\Router\Route](/en/3.2/api/Phalcon_Cli_Router_Route) **convert** (*string* $name, *callable* $converter) Adds a converter to perform an additional transformation for certain parameter diff --git a/ar/api/Phalcon_Cli_Task.md b/ar/api/Phalcon_Cli_Task.md index 4090d0b7bf55..15624d08810c 100644 --- a/ar/api/Phalcon_Cli_Task.md +++ b/ar/api/Phalcon_Cli_Task.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cli\\Task** -*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), [Phalcon\Cli\TaskInterface](/en/3.1.2/api/Phalcon_Cli_TaskInterface) +*implements* [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\Cli\TaskInterface](/en/3.2/api/Phalcon_Cli_TaskInterface) Source on GitHub @@ -35,22 +35,22 @@ final public **__construct** () Phalcon\\Cli\\Task constructor -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 **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Sets the event manager -public **getEventsManager** () inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **getEventsManager** () inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Returns the internal event manager -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_Config.md b/ar/api/Phalcon_Config.md index 55a3611a9d38..7b972faed1f5 100644 --- a/ar/api/Phalcon_Config.md +++ b/ar/api/Phalcon_Config.md @@ -28,6 +28,10 @@ $config = new \Phalcon\Config( ``` +## Constants + +*string* **DEFAULT_PATH_DELIMITER** + ## Methods public **__construct** ([*array* $arrayConfig]) @@ -47,6 +51,17 @@ var_dump( ``` +public **path** (*mixed* $path, [*mixed* $defaultValue], [*mixed* $delimiter]) + +Returns a value from current config using a dot separated path. + +```php +path("unknown.path", "default", "."); + +``` + public **get** (*mixed* $index, [*mixed* $defaultValue]) Gets an attribute from the configuration, if the attribute isn't defined returns null If the value is exactly null or is not defined the default value will be used instead @@ -95,7 +110,7 @@ unset($config["database"]); ``` -public **merge** ([Phalcon\Config](/en/3.1.2/api/Phalcon_Config) $config) +public **merge** ([Phalcon\Config](/en/3.2/api/Phalcon_Config) $config) Merges a configuration into the current one @@ -151,6 +166,14 @@ public static **__set_state** (*array* $data) Restores the state of a Phalcon\\Config object +public static **setPathDelimiter** ([*mixed* $delimiter]) + +Sets the default path delimiter + +public static **getPathDelimiter** () + +Gets the default path delimiter + final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) Helper method for merge configs (forwarding nested config instance) \ No newline at end of file diff --git a/ar/api/Phalcon_Config_Adapter_Ini.md b/ar/api/Phalcon_Config_Adapter_Ini.md index 8458550716fa..3576158bc75f 100644 --- a/ar/api/Phalcon_Config_Adapter_Ini.md +++ b/ar/api/Phalcon_Config_Adapter_Ini.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Config\\Adapter\\Ini** -*extends* class [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +*extends* class [Phalcon\Config](/en/3.2/api/Phalcon_Config) *implements* [Countable](http://php.net/manual/en/class.countable.php), [ArrayAccess](http://php.net/manual/en/class.arrayaccess.php) @@ -51,6 +51,10 @@ $config = new \Phalcon\Config\Adapter\Ini( ``` +## Constants + +*string* **DEFAULT_PATH_DELIMITER** + ## Methods public **__construct** (*mixed* $filePath, [*mixed* $mode]) @@ -81,7 +85,7 @@ protected **_cast** (*mixed* $ini) We have to cast values manually because parse_ini_file() has a poor implementation. -public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Allows to check whether an attribute is defined using the array-syntax @@ -94,7 +98,18 @@ var_dump( ``` -public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **path** (*mixed* $path, [*mixed* $defaultValue], [*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Returns a value from current config using a dot separated path. + +```php +path("unknown.path", "default", "."); + +``` + +public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute from the configuration, if the attribute isn't defined returns null If the value is exactly null or is not defined the default value will be used instead @@ -105,7 +120,7 @@ echo $config->get("controllersDir", "../app/controllers/"); ``` -public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute using the array-syntax @@ -118,7 +133,7 @@ print_r( ``` -public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Sets an attribute using the array-syntax @@ -131,7 +146,7 @@ $config["database"] = [ ``` -public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Unsets an attribute using the array-syntax @@ -142,7 +157,7 @@ unset($config["database"]); ``` -public **merge** ([Phalcon\Config](/en/3.1.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **merge** ([Phalcon\Config](/en/3.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Merges a configuration into the current one @@ -161,7 +176,7 @@ $globalConfig->merge($appConfig); ``` -public **toArray** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **toArray** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Converts recursively the object to an array @@ -174,7 +189,7 @@ print_r( ``` -public **count** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **count** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Returns the count of properties set in the config @@ -194,10 +209,18 @@ print $config->count(); ``` -public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Restores the state of a Phalcon\\Config object -final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **setPathDelimiter** ([*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Sets the default path delimiter + +public static **getPathDelimiter** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Gets the default path delimiter + +final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Helper method for merge configs (forwarding nested config instance) \ No newline at end of file diff --git a/ar/api/Phalcon_Config_Adapter_Json.md b/ar/api/Phalcon_Config_Adapter_Json.md index 37d4418b4241..860df550aee3 100644 --- a/ar/api/Phalcon_Config_Adapter_Json.md +++ b/ar/api/Phalcon_Config_Adapter_Json.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Config\\Adapter\\Json** -*extends* class [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +*extends* class [Phalcon\Config](/en/3.2/api/Phalcon_Config) *implements* [Countable](http://php.net/manual/en/class.countable.php), [ArrayAccess](http://php.net/manual/en/class.arrayaccess.php) @@ -29,13 +29,17 @@ echo $config->models->metadata; ``` +## Constants + +*string* **DEFAULT_PATH_DELIMITER** + ## Methods public **__construct** (*mixed* $filePath) Phalcon\\Config\\Adapter\\Json constructor -public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Allows to check whether an attribute is defined using the array-syntax @@ -48,7 +52,18 @@ var_dump( ``` -public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **path** (*mixed* $path, [*mixed* $defaultValue], [*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Returns a value from current config using a dot separated path. + +```php +path("unknown.path", "default", "."); + +``` + +public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute from the configuration, if the attribute isn't defined returns null If the value is exactly null or is not defined the default value will be used instead @@ -59,7 +74,7 @@ echo $config->get("controllersDir", "../app/controllers/"); ``` -public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute using the array-syntax @@ -72,7 +87,7 @@ print_r( ``` -public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Sets an attribute using the array-syntax @@ -85,7 +100,7 @@ $config["database"] = [ ``` -public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Unsets an attribute using the array-syntax @@ -96,7 +111,7 @@ unset($config["database"]); ``` -public **merge** ([Phalcon\Config](/en/3.1.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **merge** ([Phalcon\Config](/en/3.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Merges a configuration into the current one @@ -115,7 +130,7 @@ $globalConfig->merge($appConfig); ``` -public **toArray** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **toArray** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Converts recursively the object to an array @@ -128,7 +143,7 @@ print_r( ``` -public **count** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **count** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Returns the count of properties set in the config @@ -148,10 +163,18 @@ print $config->count(); ``` -public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Restores the state of a Phalcon\\Config object -final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **setPathDelimiter** ([*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Sets the default path delimiter + +public static **getPathDelimiter** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Gets the default path delimiter + +final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Helper method for merge configs (forwarding nested config instance) \ No newline at end of file diff --git a/ar/api/Phalcon_Config_Adapter_Php.md b/ar/api/Phalcon_Config_Adapter_Php.md index d2dbf0e51bc1..844d5a6cdd20 100644 --- a/ar/api/Phalcon_Config_Adapter_Php.md +++ b/ar/api/Phalcon_Config_Adapter_Php.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Config\\Adapter\\Php** -*extends* class [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +*extends* class [Phalcon\Config](/en/3.2/api/Phalcon_Config) *implements* [Countable](http://php.net/manual/en/class.countable.php), [ArrayAccess](http://php.net/manual/en/class.arrayaccess.php) @@ -44,13 +44,17 @@ echo $config->database->username; ``` +## Constants + +*string* **DEFAULT_PATH_DELIMITER** + ## Methods public **__construct** (*mixed* $filePath) Phalcon\\Config\\Adapter\\Php constructor -public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Allows to check whether an attribute is defined using the array-syntax @@ -63,7 +67,18 @@ var_dump( ``` -public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **path** (*mixed* $path, [*mixed* $defaultValue], [*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Returns a value from current config using a dot separated path. + +```php +path("unknown.path", "default", "."); + +``` + +public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute from the configuration, if the attribute isn't defined returns null If the value is exactly null or is not defined the default value will be used instead @@ -74,7 +89,7 @@ echo $config->get("controllersDir", "../app/controllers/"); ``` -public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute using the array-syntax @@ -87,7 +102,7 @@ print_r( ``` -public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Sets an attribute using the array-syntax @@ -100,7 +115,7 @@ $config["database"] = [ ``` -public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Unsets an attribute using the array-syntax @@ -111,7 +126,7 @@ unset($config["database"]); ``` -public **merge** ([Phalcon\Config](/en/3.1.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **merge** ([Phalcon\Config](/en/3.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Merges a configuration into the current one @@ -130,7 +145,7 @@ $globalConfig->merge($appConfig); ``` -public **toArray** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **toArray** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Converts recursively the object to an array @@ -143,7 +158,7 @@ print_r( ``` -public **count** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **count** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Returns the count of properties set in the config @@ -163,10 +178,18 @@ print $config->count(); ``` -public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Restores the state of a Phalcon\\Config object -final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **setPathDelimiter** ([*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Sets the default path delimiter + +public static **getPathDelimiter** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Gets the default path delimiter + +final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Helper method for merge configs (forwarding nested config instance) \ No newline at end of file diff --git a/ar/api/Phalcon_Config_Adapter_Yaml.md b/ar/api/Phalcon_Config_Adapter_Yaml.md index a63e7a518e4d..1955bc04918c 100644 --- a/ar/api/Phalcon_Config_Adapter_Yaml.md +++ b/ar/api/Phalcon_Config_Adapter_Yaml.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Config\\Adapter\\Yaml** -*extends* class [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +*extends* class [Phalcon\Config](/en/3.2/api/Phalcon_Config) *implements* [Countable](http://php.net/manual/en/class.countable.php), [ArrayAccess](http://php.net/manual/en/class.arrayaccess.php) @@ -46,13 +46,17 @@ echo $config->models->metadata; ``` +## Constants + +*string* **DEFAULT_PATH_DELIMITER** + ## Methods public **__construct** (*mixed* $filePath, [*array* $callbacks]) Phalcon\\Config\\Adapter\\Yaml constructor -public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Allows to check whether an attribute is defined using the array-syntax @@ -65,7 +69,18 @@ var_dump( ``` -public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **path** (*mixed* $path, [*mixed* $defaultValue], [*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Returns a value from current config using a dot separated path. + +```php +path("unknown.path", "default", "."); + +``` + +public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute from the configuration, if the attribute isn't defined returns null If the value is exactly null or is not defined the default value will be used instead @@ -76,7 +91,7 @@ echo $config->get("controllersDir", "../app/controllers/"); ``` -public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute using the array-syntax @@ -89,7 +104,7 @@ print_r( ``` -public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Sets an attribute using the array-syntax @@ -102,7 +117,7 @@ $config["database"] = [ ``` -public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Unsets an attribute using the array-syntax @@ -113,7 +128,7 @@ unset($config["database"]); ``` -public **merge** ([Phalcon\Config](/en/3.1.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **merge** ([Phalcon\Config](/en/3.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Merges a configuration into the current one @@ -132,7 +147,7 @@ $globalConfig->merge($appConfig); ``` -public **toArray** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **toArray** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Converts recursively the object to an array @@ -145,7 +160,7 @@ print_r( ``` -public **count** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **count** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Returns the count of properties set in the config @@ -165,10 +180,18 @@ print $config->count(); ``` -public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Restores the state of a Phalcon\\Config object -final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **setPathDelimiter** ([*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Sets the default path delimiter + +public static **getPathDelimiter** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Gets the default path delimiter + +final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Helper method for merge configs (forwarding nested config instance) \ No newline at end of file diff --git a/ar/api/Phalcon_Config_Exception.md b/ar/api/Phalcon_Config_Exception.md index fe180ca140c2..870c720975df 100644 --- a/ar/api/Phalcon_Config_Exception.md +++ b/ar/api/Phalcon_Config_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Config\\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_Crypt.md b/ar/api/Phalcon_Crypt.md index 02729550912f..348e1401a9a0 100644 --- a/ar/api/Phalcon_Crypt.md +++ b/ar/api/Phalcon_Crypt.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Crypt** -*implements* [Phalcon\CryptInterface](/en/3.1.2/api/Phalcon_CryptInterface) +*implements* [Phalcon\CryptInterface](/en/3.2/api/Phalcon_CryptInterface) Source on GitHub diff --git a/ar/api/Phalcon_Crypt_Exception.md b/ar/api/Phalcon_Crypt_Exception.md index 677b1db3e78e..ea2a2af5ed7e 100644 --- a/ar/api/Phalcon_Crypt_Exception.md +++ b/ar/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/ar/api/Phalcon_Flash.md b/ar/api/Phalcon_Flash.md index 46db08bba6b6..fab60ddca1fb 100644 --- a/ar/api/Phalcon_Flash.md +++ b/ar/api/Phalcon_Flash.md @@ -1,6 +1,6 @@ # Abstract class **Phalcon\\Flash** -*implements* [Phalcon\FlashInterface](/en/3.1.2/api/Phalcon_FlashInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.1.2/api/Phalcon_Di_InjectionAwareInterface) +*implements* [Phalcon\FlashInterface](/en/3.2/api/Phalcon_FlashInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface) Source on GitHub @@ -32,11 +32,11 @@ public **getEscaperService** () Returns the Escaper Service -public **setEscaperService** ([Phalcon\EscaperInterface](/en/3.1.2/api/Phalcon_EscaperInterface) $escaperService) +public **setEscaperService** ([Phalcon\EscaperInterface](/en/3.2/api/Phalcon_EscaperInterface) $escaperService) Sets the Escaper Service -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 @@ -115,6 +115,6 @@ public **clear** () Clears accumulated messages when implicit flush is disabled -abstract public **message** (*mixed* $type, *mixed* $message) inherited from [Phalcon\FlashInterface](/en/3.1.2/api/Phalcon_FlashInterface) +abstract public **message** (*mixed* $type, *mixed* $message) inherited from [Phalcon\FlashInterface](/en/3.2/api/Phalcon_FlashInterface) ... \ No newline at end of file diff --git a/ar/api/Phalcon_Flash_Direct.md b/ar/api/Phalcon_Flash_Direct.md index 5563e108b68e..9b8045cf2a4e 100644 --- a/ar/api/Phalcon_Flash_Direct.md +++ b/ar/api/Phalcon_Flash_Direct.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Flash\\Direct** -*extends* abstract class [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +*extends* abstract class [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) -*implements* [Phalcon\Di\InjectionAwareInterface](/en/3.1.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\FlashInterface](/en/3.1.2/api/Phalcon_FlashInterface) +*implements* [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\FlashInterface](/en/3.2/api/Phalcon_FlashInterface) Source on GitHub @@ -18,47 +18,47 @@ public **output** ([*mixed* $remove]) Prints the messages accumulated in the flasher -public **__construct** ([*mixed* $cssClasses]) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **__construct** ([*mixed* $cssClasses]) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Phalcon\\Flash constructor -public **getAutoescape** () inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **getAutoescape** () inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Returns the autoescape mode in generated html -public **setAutoescape** (*mixed* $autoescape) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **setAutoescape** (*mixed* $autoescape) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Set the autoescape mode in generated html -public **getEscaperService** () inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **getEscaperService** () inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Returns the Escaper Service -public **setEscaperService** ([Phalcon\EscaperInterface](/en/3.1.2/api/Phalcon_EscaperInterface) $escaperService) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **setEscaperService** ([Phalcon\EscaperInterface](/en/3.2/api/Phalcon_EscaperInterface) $escaperService) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Sets the Escaper Service -public **setDI** ([Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **setDI** ([Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Sets the dependency injector -public **getDI** () inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **getDI** () inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Returns the internal dependency injector -public **setImplicitFlush** (*mixed* $implicitFlush) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **setImplicitFlush** (*mixed* $implicitFlush) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Set whether the output must be implicitly flushed to the output or returned as string -public **setAutomaticHtml** (*mixed* $automaticHtml) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **setAutomaticHtml** (*mixed* $automaticHtml) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Set if the output must be implicitly formatted with HTML -public **setCssClasses** (*array* $cssClasses) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **setCssClasses** (*array* $cssClasses) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Set an array with CSS classes to format the messages -public **error** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **error** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Shows a HTML error message @@ -69,7 +69,7 @@ $flash->error("This is an error"); ``` -public **notice** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **notice** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Shows a HTML notice/information message @@ -80,7 +80,7 @@ $flash->notice("This is an information"); ``` -public **success** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **success** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Shows a HTML success message @@ -91,7 +91,7 @@ $flash->success("The process was finished successfully"); ``` -public **warning** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **warning** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Shows a HTML warning message @@ -102,7 +102,7 @@ $flash->warning("Hey, this is important"); ``` -public *string* | *void* **outputMessage** (*mixed* $type, *string* | *array* $message) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public *string* | *void* **outputMessage** (*mixed* $type, *string* | *array* $message) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Outputs a message formatting it with HTML @@ -113,6 +113,6 @@ $flash->outputMessage("error", $message); ``` -public **clear** () inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **clear** () inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Clears accumulated messages when implicit flush is disabled \ No newline at end of file diff --git a/ar/api/Phalcon_Forms_Element_Check.md b/ar/api/Phalcon_Forms_Element_Check.md index f7f53cada4b4..320a3d0b2bed 100644 --- a/ar/api/Phalcon_Forms_Element_Check.md +++ b/ar/api/Phalcon_Forms_Element_Check.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Forms\\Element\\Check** -*extends* abstract class [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +*extends* abstract class [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) -*implements* [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) +*implements* [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) Source on GitHub @@ -14,130 +14,130 @@ public **render** ([*array* $attributes]) Renders the element widget returning html -public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Phalcon\\Forms\\Element constructor -public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the parent form to the element -public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the parent form to the element -public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element name -public **getName** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getName** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element name -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element filters -public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a filter to current list of filters -public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element filters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a group of validators -public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a validator to the element -public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the validators registered for the element -public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns an array of prepared attributes for Phalcon\\Tag helpers according to the element parameters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default attribute for the element -public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an attribute if present -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets default attributes for the element -public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default attributes for the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets an option for the element -public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an option if present -public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets options for the element -public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the options for the element -public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element label -public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element label -public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Generate the HTML to label the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default value in case the form does not use an entity or there is no value available for the element in _POST -public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default value assigned to the element -public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element value -public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the messages that belongs to the element The element needs to be attached to a form -public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Checks whether there are messages attached to the element -public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the validation messages related to the element -public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Appends a message to the internal message list -public **clear** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **clear** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Clears every element in the form to its default value -public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Magic method __toString renders the widget without attributes \ No newline at end of file diff --git a/ar/api/Phalcon_Forms_Element_Date.md b/ar/api/Phalcon_Forms_Element_Date.md index 9bdd42965358..701a6b5ffe81 100644 --- a/ar/api/Phalcon_Forms_Element_Date.md +++ b/ar/api/Phalcon_Forms_Element_Date.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Forms\\Element\\Date** -*extends* abstract class [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +*extends* abstract class [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) -*implements* [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) +*implements* [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) Source on GitHub @@ -14,130 +14,130 @@ public **render** ([*array* $attributes]) Renders the element widget returning html -public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Phalcon\\Forms\\Element constructor -public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the parent form to the element -public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the parent form to the element -public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element name -public **getName** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getName** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element name -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element filters -public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a filter to current list of filters -public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element filters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a group of validators -public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a validator to the element -public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the validators registered for the element -public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns an array of prepared attributes for Phalcon\\Tag helpers according to the element parameters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default attribute for the element -public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an attribute if present -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets default attributes for the element -public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default attributes for the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets an option for the element -public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an option if present -public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets options for the element -public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the options for the element -public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element label -public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element label -public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Generate the HTML to label the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default value in case the form does not use an entity or there is no value available for the element in _POST -public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default value assigned to the element -public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element value -public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the messages that belongs to the element The element needs to be attached to a form -public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Checks whether there are messages attached to the element -public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the validation messages related to the element -public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Appends a message to the internal message list -public **clear** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **clear** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Clears every element in the form to its default value -public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Magic method __toString renders the widget without attributes \ No newline at end of file diff --git a/ar/api/Phalcon_Forms_Element_Email.md b/ar/api/Phalcon_Forms_Element_Email.md index 46e6c4dd0910..e732f646f360 100644 --- a/ar/api/Phalcon_Forms_Element_Email.md +++ b/ar/api/Phalcon_Forms_Element_Email.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Forms\\Element\\Email** -*extends* abstract class [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +*extends* abstract class [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) -*implements* [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) +*implements* [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) Source on GitHub @@ -14,130 +14,130 @@ public **render** ([*array* $attributes]) Renders the element widget returning html -public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Phalcon\\Forms\\Element constructor -public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the parent form to the element -public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the parent form to the element -public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element name -public **getName** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getName** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element name -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element filters -public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a filter to current list of filters -public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element filters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a group of validators -public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a validator to the element -public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the validators registered for the element -public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns an array of prepared attributes for Phalcon\\Tag helpers according to the element parameters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default attribute for the element -public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an attribute if present -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets default attributes for the element -public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default attributes for the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets an option for the element -public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an option if present -public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets options for the element -public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the options for the element -public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element label -public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element label -public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Generate the HTML to label the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default value in case the form does not use an entity or there is no value available for the element in _POST -public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default value assigned to the element -public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element value -public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the messages that belongs to the element The element needs to be attached to a form -public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Checks whether there are messages attached to the element -public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the validation messages related to the element -public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Appends a message to the internal message list -public **clear** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **clear** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Clears every element in the form to its default value -public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Magic method __toString renders the widget without attributes \ No newline at end of file diff --git a/ar/api/Phalcon_Forms_Element_File.md b/ar/api/Phalcon_Forms_Element_File.md index 04fceec03b0d..b81797926b6f 100644 --- a/ar/api/Phalcon_Forms_Element_File.md +++ b/ar/api/Phalcon_Forms_Element_File.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Forms\\Element\\File** -*extends* abstract class [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +*extends* abstract class [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) -*implements* [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) +*implements* [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) Source on GitHub @@ -14,130 +14,130 @@ public **render** ([*array* $attributes]) Renders the element widget returning html -public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Phalcon\\Forms\\Element constructor -public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the parent form to the element -public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the parent form to the element -public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element name -public **getName** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getName** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element name -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element filters -public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a filter to current list of filters -public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element filters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a group of validators -public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a validator to the element -public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the validators registered for the element -public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns an array of prepared attributes for Phalcon\\Tag helpers according to the element parameters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default attribute for the element -public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an attribute if present -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets default attributes for the element -public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default attributes for the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets an option for the element -public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an option if present -public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets options for the element -public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the options for the element -public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element label -public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element label -public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Generate the HTML to label the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default value in case the form does not use an entity or there is no value available for the element in _POST -public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default value assigned to the element -public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element value -public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the messages that belongs to the element The element needs to be attached to a form -public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Checks whether there are messages attached to the element -public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the validation messages related to the element -public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Appends a message to the internal message list -public **clear** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **clear** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Clears every element in the form to its default value -public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Magic method __toString renders the widget without attributes \ No newline at end of file diff --git a/ar/api/Phalcon_Forms_Element_Hidden.md b/ar/api/Phalcon_Forms_Element_Hidden.md index 317e3fe554b8..91457ea53c89 100644 --- a/ar/api/Phalcon_Forms_Element_Hidden.md +++ b/ar/api/Phalcon_Forms_Element_Hidden.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Forms\\Element\\Hidden** -*extends* abstract class [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +*extends* abstract class [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) -*implements* [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) +*implements* [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) Source on GitHub @@ -14,130 +14,130 @@ public **render** ([*array* $attributes]) Renders the element widget returning html -public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Phalcon\\Forms\\Element constructor -public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the parent form to the element -public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the parent form to the element -public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element name -public **getName** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getName** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element name -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element filters -public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a filter to current list of filters -public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element filters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a group of validators -public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a validator to the element -public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the validators registered for the element -public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns an array of prepared attributes for Phalcon\\Tag helpers according to the element parameters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default attribute for the element -public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an attribute if present -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets default attributes for the element -public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default attributes for the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets an option for the element -public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an option if present -public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets options for the element -public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the options for the element -public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element label -public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element label -public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Generate the HTML to label the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default value in case the form does not use an entity or there is no value available for the element in _POST -public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default value assigned to the element -public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element value -public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the messages that belongs to the element The element needs to be attached to a form -public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Checks whether there are messages attached to the element -public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the validation messages related to the element -public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Appends a message to the internal message list -public **clear** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **clear** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Clears every element in the form to its default value -public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Magic method __toString renders the widget without attributes \ No newline at end of file diff --git a/ar/api/Phalcon_Forms_Element_Numeric.md b/ar/api/Phalcon_Forms_Element_Numeric.md index 1b13ae0d294f..cd365f3c022b 100644 --- a/ar/api/Phalcon_Forms_Element_Numeric.md +++ b/ar/api/Phalcon_Forms_Element_Numeric.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Forms\\Element\\Numeric** -*extends* abstract class [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +*extends* abstract class [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) -*implements* [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) +*implements* [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) Source on GitHub @@ -14,130 +14,130 @@ public **render** ([*array* $attributes]) Renders the element widget returning html -public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Phalcon\\Forms\\Element constructor -public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the parent form to the element -public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the parent form to the element -public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element name -public **getName** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getName** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element name -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element filters -public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a filter to current list of filters -public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element filters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a group of validators -public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a validator to the element -public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the validators registered for the element -public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns an array of prepared attributes for Phalcon\\Tag helpers according to the element parameters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default attribute for the element -public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an attribute if present -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets default attributes for the element -public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default attributes for the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets an option for the element -public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an option if present -public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets options for the element -public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the options for the element -public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element label -public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element label -public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Generate the HTML to label the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default value in case the form does not use an entity or there is no value available for the element in _POST -public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default value assigned to the element -public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element value -public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the messages that belongs to the element The element needs to be attached to a form -public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Checks whether there are messages attached to the element -public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the validation messages related to the element -public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Appends a message to the internal message list -public **clear** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **clear** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Clears every element in the form to its default value -public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Magic method __toString renders the widget without attributes \ No newline at end of file diff --git a/bg/api/Phalcon_Cli_Router_Route.md b/bg/api/Phalcon_Cli_Router_Route.md index 73e76009acee..290d5404abd8 100644 --- a/bg/api/Phalcon_Cli_Router_Route.md +++ b/bg/api/Phalcon_Cli_Router_Route.md @@ -46,7 +46,7 @@ $router->add( ``` -public [Phalcon\Cli\Router\Route](/en/3.1.2/api/Phalcon_Cli_Router_Route) **beforeMatch** (*callback* $callback) +public [Phalcon\Cli\Router\Route](/en/3.2/api/Phalcon_Cli_Router_Route) **beforeMatch** (*callback* $callback) Sets a callback that is called if the route is matched. The developer can implement any arbitrary conditions here If the callback returns false the route is treated as not matched @@ -74,7 +74,7 @@ public **getReversedPaths** () Returns the paths using positions as keys and names as values -public [Phalcon\Cli\Router\Route](/en/3.1.2/api/Phalcon_Cli_Router_Route) **convert** (*string* $name, *callable* $converter) +public [Phalcon\Cli\Router\Route](/en/3.2/api/Phalcon_Cli_Router_Route) **convert** (*string* $name, *callable* $converter) Adds a converter to perform an additional transformation for certain parameter diff --git a/bg/api/Phalcon_Cli_Task.md b/bg/api/Phalcon_Cli_Task.md index 4090d0b7bf55..15624d08810c 100644 --- a/bg/api/Phalcon_Cli_Task.md +++ b/bg/api/Phalcon_Cli_Task.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cli\\Task** -*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), [Phalcon\Cli\TaskInterface](/en/3.1.2/api/Phalcon_Cli_TaskInterface) +*implements* [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\Cli\TaskInterface](/en/3.2/api/Phalcon_Cli_TaskInterface) Source on GitHub @@ -35,22 +35,22 @@ final public **__construct** () Phalcon\\Cli\\Task constructor -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 **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Sets the event manager -public **getEventsManager** () inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **getEventsManager** () inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Returns the internal event manager -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_Config.md b/bg/api/Phalcon_Config.md index 55a3611a9d38..7b972faed1f5 100644 --- a/bg/api/Phalcon_Config.md +++ b/bg/api/Phalcon_Config.md @@ -28,6 +28,10 @@ $config = new \Phalcon\Config( ``` +## Constants + +*string* **DEFAULT_PATH_DELIMITER** + ## Methods public **__construct** ([*array* $arrayConfig]) @@ -47,6 +51,17 @@ var_dump( ``` +public **path** (*mixed* $path, [*mixed* $defaultValue], [*mixed* $delimiter]) + +Returns a value from current config using a dot separated path. + +```php +path("unknown.path", "default", "."); + +``` + public **get** (*mixed* $index, [*mixed* $defaultValue]) Gets an attribute from the configuration, if the attribute isn't defined returns null If the value is exactly null or is not defined the default value will be used instead @@ -95,7 +110,7 @@ unset($config["database"]); ``` -public **merge** ([Phalcon\Config](/en/3.1.2/api/Phalcon_Config) $config) +public **merge** ([Phalcon\Config](/en/3.2/api/Phalcon_Config) $config) Merges a configuration into the current one @@ -151,6 +166,14 @@ public static **__set_state** (*array* $data) Restores the state of a Phalcon\\Config object +public static **setPathDelimiter** ([*mixed* $delimiter]) + +Sets the default path delimiter + +public static **getPathDelimiter** () + +Gets the default path delimiter + final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) Helper method for merge configs (forwarding nested config instance) \ No newline at end of file diff --git a/bg/api/Phalcon_Config_Adapter_Ini.md b/bg/api/Phalcon_Config_Adapter_Ini.md index 8458550716fa..3576158bc75f 100644 --- a/bg/api/Phalcon_Config_Adapter_Ini.md +++ b/bg/api/Phalcon_Config_Adapter_Ini.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Config\\Adapter\\Ini** -*extends* class [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +*extends* class [Phalcon\Config](/en/3.2/api/Phalcon_Config) *implements* [Countable](http://php.net/manual/en/class.countable.php), [ArrayAccess](http://php.net/manual/en/class.arrayaccess.php) @@ -51,6 +51,10 @@ $config = new \Phalcon\Config\Adapter\Ini( ``` +## Constants + +*string* **DEFAULT_PATH_DELIMITER** + ## Methods public **__construct** (*mixed* $filePath, [*mixed* $mode]) @@ -81,7 +85,7 @@ protected **_cast** (*mixed* $ini) We have to cast values manually because parse_ini_file() has a poor implementation. -public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Allows to check whether an attribute is defined using the array-syntax @@ -94,7 +98,18 @@ var_dump( ``` -public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **path** (*mixed* $path, [*mixed* $defaultValue], [*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Returns a value from current config using a dot separated path. + +```php +path("unknown.path", "default", "."); + +``` + +public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute from the configuration, if the attribute isn't defined returns null If the value is exactly null or is not defined the default value will be used instead @@ -105,7 +120,7 @@ echo $config->get("controllersDir", "../app/controllers/"); ``` -public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute using the array-syntax @@ -118,7 +133,7 @@ print_r( ``` -public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Sets an attribute using the array-syntax @@ -131,7 +146,7 @@ $config["database"] = [ ``` -public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Unsets an attribute using the array-syntax @@ -142,7 +157,7 @@ unset($config["database"]); ``` -public **merge** ([Phalcon\Config](/en/3.1.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **merge** ([Phalcon\Config](/en/3.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Merges a configuration into the current one @@ -161,7 +176,7 @@ $globalConfig->merge($appConfig); ``` -public **toArray** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **toArray** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Converts recursively the object to an array @@ -174,7 +189,7 @@ print_r( ``` -public **count** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **count** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Returns the count of properties set in the config @@ -194,10 +209,18 @@ print $config->count(); ``` -public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Restores the state of a Phalcon\\Config object -final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **setPathDelimiter** ([*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Sets the default path delimiter + +public static **getPathDelimiter** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Gets the default path delimiter + +final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Helper method for merge configs (forwarding nested config instance) \ No newline at end of file diff --git a/bg/api/Phalcon_Config_Adapter_Json.md b/bg/api/Phalcon_Config_Adapter_Json.md index 37d4418b4241..860df550aee3 100644 --- a/bg/api/Phalcon_Config_Adapter_Json.md +++ b/bg/api/Phalcon_Config_Adapter_Json.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Config\\Adapter\\Json** -*extends* class [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +*extends* class [Phalcon\Config](/en/3.2/api/Phalcon_Config) *implements* [Countable](http://php.net/manual/en/class.countable.php), [ArrayAccess](http://php.net/manual/en/class.arrayaccess.php) @@ -29,13 +29,17 @@ echo $config->models->metadata; ``` +## Constants + +*string* **DEFAULT_PATH_DELIMITER** + ## Methods public **__construct** (*mixed* $filePath) Phalcon\\Config\\Adapter\\Json constructor -public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Allows to check whether an attribute is defined using the array-syntax @@ -48,7 +52,18 @@ var_dump( ``` -public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **path** (*mixed* $path, [*mixed* $defaultValue], [*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Returns a value from current config using a dot separated path. + +```php +path("unknown.path", "default", "."); + +``` + +public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute from the configuration, if the attribute isn't defined returns null If the value is exactly null or is not defined the default value will be used instead @@ -59,7 +74,7 @@ echo $config->get("controllersDir", "../app/controllers/"); ``` -public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute using the array-syntax @@ -72,7 +87,7 @@ print_r( ``` -public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Sets an attribute using the array-syntax @@ -85,7 +100,7 @@ $config["database"] = [ ``` -public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Unsets an attribute using the array-syntax @@ -96,7 +111,7 @@ unset($config["database"]); ``` -public **merge** ([Phalcon\Config](/en/3.1.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **merge** ([Phalcon\Config](/en/3.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Merges a configuration into the current one @@ -115,7 +130,7 @@ $globalConfig->merge($appConfig); ``` -public **toArray** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **toArray** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Converts recursively the object to an array @@ -128,7 +143,7 @@ print_r( ``` -public **count** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **count** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Returns the count of properties set in the config @@ -148,10 +163,18 @@ print $config->count(); ``` -public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Restores the state of a Phalcon\\Config object -final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **setPathDelimiter** ([*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Sets the default path delimiter + +public static **getPathDelimiter** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Gets the default path delimiter + +final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Helper method for merge configs (forwarding nested config instance) \ No newline at end of file diff --git a/bg/api/Phalcon_Config_Adapter_Php.md b/bg/api/Phalcon_Config_Adapter_Php.md index d2dbf0e51bc1..844d5a6cdd20 100644 --- a/bg/api/Phalcon_Config_Adapter_Php.md +++ b/bg/api/Phalcon_Config_Adapter_Php.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Config\\Adapter\\Php** -*extends* class [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +*extends* class [Phalcon\Config](/en/3.2/api/Phalcon_Config) *implements* [Countable](http://php.net/manual/en/class.countable.php), [ArrayAccess](http://php.net/manual/en/class.arrayaccess.php) @@ -44,13 +44,17 @@ echo $config->database->username; ``` +## Constants + +*string* **DEFAULT_PATH_DELIMITER** + ## Methods public **__construct** (*mixed* $filePath) Phalcon\\Config\\Adapter\\Php constructor -public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Allows to check whether an attribute is defined using the array-syntax @@ -63,7 +67,18 @@ var_dump( ``` -public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **path** (*mixed* $path, [*mixed* $defaultValue], [*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Returns a value from current config using a dot separated path. + +```php +path("unknown.path", "default", "."); + +``` + +public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute from the configuration, if the attribute isn't defined returns null If the value is exactly null or is not defined the default value will be used instead @@ -74,7 +89,7 @@ echo $config->get("controllersDir", "../app/controllers/"); ``` -public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute using the array-syntax @@ -87,7 +102,7 @@ print_r( ``` -public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Sets an attribute using the array-syntax @@ -100,7 +115,7 @@ $config["database"] = [ ``` -public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Unsets an attribute using the array-syntax @@ -111,7 +126,7 @@ unset($config["database"]); ``` -public **merge** ([Phalcon\Config](/en/3.1.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **merge** ([Phalcon\Config](/en/3.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Merges a configuration into the current one @@ -130,7 +145,7 @@ $globalConfig->merge($appConfig); ``` -public **toArray** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **toArray** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Converts recursively the object to an array @@ -143,7 +158,7 @@ print_r( ``` -public **count** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **count** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Returns the count of properties set in the config @@ -163,10 +178,18 @@ print $config->count(); ``` -public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Restores the state of a Phalcon\\Config object -final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **setPathDelimiter** ([*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Sets the default path delimiter + +public static **getPathDelimiter** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Gets the default path delimiter + +final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Helper method for merge configs (forwarding nested config instance) \ No newline at end of file diff --git a/bg/api/Phalcon_Config_Adapter_Yaml.md b/bg/api/Phalcon_Config_Adapter_Yaml.md index a63e7a518e4d..1955bc04918c 100644 --- a/bg/api/Phalcon_Config_Adapter_Yaml.md +++ b/bg/api/Phalcon_Config_Adapter_Yaml.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Config\\Adapter\\Yaml** -*extends* class [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +*extends* class [Phalcon\Config](/en/3.2/api/Phalcon_Config) *implements* [Countable](http://php.net/manual/en/class.countable.php), [ArrayAccess](http://php.net/manual/en/class.arrayaccess.php) @@ -46,13 +46,17 @@ echo $config->models->metadata; ``` +## Constants + +*string* **DEFAULT_PATH_DELIMITER** + ## Methods public **__construct** (*mixed* $filePath, [*array* $callbacks]) Phalcon\\Config\\Adapter\\Yaml constructor -public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Allows to check whether an attribute is defined using the array-syntax @@ -65,7 +69,18 @@ var_dump( ``` -public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **path** (*mixed* $path, [*mixed* $defaultValue], [*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Returns a value from current config using a dot separated path. + +```php +path("unknown.path", "default", "."); + +``` + +public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute from the configuration, if the attribute isn't defined returns null If the value is exactly null or is not defined the default value will be used instead @@ -76,7 +91,7 @@ echo $config->get("controllersDir", "../app/controllers/"); ``` -public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute using the array-syntax @@ -89,7 +104,7 @@ print_r( ``` -public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Sets an attribute using the array-syntax @@ -102,7 +117,7 @@ $config["database"] = [ ``` -public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Unsets an attribute using the array-syntax @@ -113,7 +128,7 @@ unset($config["database"]); ``` -public **merge** ([Phalcon\Config](/en/3.1.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **merge** ([Phalcon\Config](/en/3.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Merges a configuration into the current one @@ -132,7 +147,7 @@ $globalConfig->merge($appConfig); ``` -public **toArray** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **toArray** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Converts recursively the object to an array @@ -145,7 +160,7 @@ print_r( ``` -public **count** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **count** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Returns the count of properties set in the config @@ -165,10 +180,18 @@ print $config->count(); ``` -public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Restores the state of a Phalcon\\Config object -final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **setPathDelimiter** ([*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Sets the default path delimiter + +public static **getPathDelimiter** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Gets the default path delimiter + +final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Helper method for merge configs (forwarding nested config instance) \ No newline at end of file diff --git a/bg/api/Phalcon_Config_Exception.md b/bg/api/Phalcon_Config_Exception.md index fe180ca140c2..870c720975df 100644 --- a/bg/api/Phalcon_Config_Exception.md +++ b/bg/api/Phalcon_Config_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Config\\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_Crypt.md b/bg/api/Phalcon_Crypt.md index 02729550912f..348e1401a9a0 100644 --- a/bg/api/Phalcon_Crypt.md +++ b/bg/api/Phalcon_Crypt.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Crypt** -*implements* [Phalcon\CryptInterface](/en/3.1.2/api/Phalcon_CryptInterface) +*implements* [Phalcon\CryptInterface](/en/3.2/api/Phalcon_CryptInterface) Source on GitHub diff --git a/bg/api/Phalcon_Crypt_Exception.md b/bg/api/Phalcon_Crypt_Exception.md index 677b1db3e78e..ea2a2af5ed7e 100644 --- a/bg/api/Phalcon_Crypt_Exception.md +++ b/bg/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/bg/api/Phalcon_Flash.md b/bg/api/Phalcon_Flash.md index 46db08bba6b6..fab60ddca1fb 100644 --- a/bg/api/Phalcon_Flash.md +++ b/bg/api/Phalcon_Flash.md @@ -1,6 +1,6 @@ # Abstract class **Phalcon\\Flash** -*implements* [Phalcon\FlashInterface](/en/3.1.2/api/Phalcon_FlashInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.1.2/api/Phalcon_Di_InjectionAwareInterface) +*implements* [Phalcon\FlashInterface](/en/3.2/api/Phalcon_FlashInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface) Source on GitHub @@ -32,11 +32,11 @@ public **getEscaperService** () Returns the Escaper Service -public **setEscaperService** ([Phalcon\EscaperInterface](/en/3.1.2/api/Phalcon_EscaperInterface) $escaperService) +public **setEscaperService** ([Phalcon\EscaperInterface](/en/3.2/api/Phalcon_EscaperInterface) $escaperService) Sets the Escaper Service -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 @@ -115,6 +115,6 @@ public **clear** () Clears accumulated messages when implicit flush is disabled -abstract public **message** (*mixed* $type, *mixed* $message) inherited from [Phalcon\FlashInterface](/en/3.1.2/api/Phalcon_FlashInterface) +abstract public **message** (*mixed* $type, *mixed* $message) inherited from [Phalcon\FlashInterface](/en/3.2/api/Phalcon_FlashInterface) ... \ No newline at end of file diff --git a/bg/api/Phalcon_Flash_Direct.md b/bg/api/Phalcon_Flash_Direct.md index 5563e108b68e..9b8045cf2a4e 100644 --- a/bg/api/Phalcon_Flash_Direct.md +++ b/bg/api/Phalcon_Flash_Direct.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Flash\\Direct** -*extends* abstract class [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +*extends* abstract class [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) -*implements* [Phalcon\Di\InjectionAwareInterface](/en/3.1.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\FlashInterface](/en/3.1.2/api/Phalcon_FlashInterface) +*implements* [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\FlashInterface](/en/3.2/api/Phalcon_FlashInterface) Source on GitHub @@ -18,47 +18,47 @@ public **output** ([*mixed* $remove]) Prints the messages accumulated in the flasher -public **__construct** ([*mixed* $cssClasses]) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **__construct** ([*mixed* $cssClasses]) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Phalcon\\Flash constructor -public **getAutoescape** () inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **getAutoescape** () inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Returns the autoescape mode in generated html -public **setAutoescape** (*mixed* $autoescape) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **setAutoescape** (*mixed* $autoescape) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Set the autoescape mode in generated html -public **getEscaperService** () inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **getEscaperService** () inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Returns the Escaper Service -public **setEscaperService** ([Phalcon\EscaperInterface](/en/3.1.2/api/Phalcon_EscaperInterface) $escaperService) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **setEscaperService** ([Phalcon\EscaperInterface](/en/3.2/api/Phalcon_EscaperInterface) $escaperService) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Sets the Escaper Service -public **setDI** ([Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **setDI** ([Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Sets the dependency injector -public **getDI** () inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **getDI** () inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Returns the internal dependency injector -public **setImplicitFlush** (*mixed* $implicitFlush) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **setImplicitFlush** (*mixed* $implicitFlush) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Set whether the output must be implicitly flushed to the output or returned as string -public **setAutomaticHtml** (*mixed* $automaticHtml) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **setAutomaticHtml** (*mixed* $automaticHtml) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Set if the output must be implicitly formatted with HTML -public **setCssClasses** (*array* $cssClasses) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **setCssClasses** (*array* $cssClasses) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Set an array with CSS classes to format the messages -public **error** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **error** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Shows a HTML error message @@ -69,7 +69,7 @@ $flash->error("This is an error"); ``` -public **notice** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **notice** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Shows a HTML notice/information message @@ -80,7 +80,7 @@ $flash->notice("This is an information"); ``` -public **success** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **success** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Shows a HTML success message @@ -91,7 +91,7 @@ $flash->success("The process was finished successfully"); ``` -public **warning** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **warning** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Shows a HTML warning message @@ -102,7 +102,7 @@ $flash->warning("Hey, this is important"); ``` -public *string* | *void* **outputMessage** (*mixed* $type, *string* | *array* $message) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public *string* | *void* **outputMessage** (*mixed* $type, *string* | *array* $message) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Outputs a message formatting it with HTML @@ -113,6 +113,6 @@ $flash->outputMessage("error", $message); ``` -public **clear** () inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **clear** () inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Clears accumulated messages when implicit flush is disabled \ No newline at end of file diff --git a/bg/api/Phalcon_Forms_ElementInterface.md b/bg/api/Phalcon_Forms_ElementInterface.md index bde079440bdc..8108787311a9 100644 --- a/bg/api/Phalcon_Forms_ElementInterface.md +++ b/bg/api/Phalcon_Forms_ElementInterface.md @@ -4,7 +4,7 @@ ## Methods -abstract public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) +abstract public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) ... @@ -36,7 +36,7 @@ abstract public **addValidators** (*array* $validators, [*mixed* $merge]) ... -abstract public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) +abstract public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) ... @@ -112,11 +112,11 @@ abstract public **hasMessages** () ... -abstract public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) +abstract public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) ... -abstract public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) +abstract public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) ... diff --git a/bg/api/Phalcon_Forms_Element_Check.md b/bg/api/Phalcon_Forms_Element_Check.md index f7f53cada4b4..320a3d0b2bed 100644 --- a/bg/api/Phalcon_Forms_Element_Check.md +++ b/bg/api/Phalcon_Forms_Element_Check.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Forms\\Element\\Check** -*extends* abstract class [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +*extends* abstract class [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) -*implements* [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) +*implements* [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) Source on GitHub @@ -14,130 +14,130 @@ public **render** ([*array* $attributes]) Renders the element widget returning html -public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Phalcon\\Forms\\Element constructor -public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the parent form to the element -public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the parent form to the element -public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element name -public **getName** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getName** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element name -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element filters -public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a filter to current list of filters -public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element filters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a group of validators -public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a validator to the element -public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the validators registered for the element -public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns an array of prepared attributes for Phalcon\\Tag helpers according to the element parameters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default attribute for the element -public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an attribute if present -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets default attributes for the element -public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default attributes for the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets an option for the element -public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an option if present -public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets options for the element -public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the options for the element -public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element label -public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element label -public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Generate the HTML to label the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default value in case the form does not use an entity or there is no value available for the element in _POST -public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default value assigned to the element -public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element value -public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the messages that belongs to the element The element needs to be attached to a form -public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Checks whether there are messages attached to the element -public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the validation messages related to the element -public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Appends a message to the internal message list -public **clear** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **clear** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Clears every element in the form to its default value -public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Magic method __toString renders the widget without attributes \ No newline at end of file diff --git a/bg/api/Phalcon_Forms_Element_Date.md b/bg/api/Phalcon_Forms_Element_Date.md index 9bdd42965358..701a6b5ffe81 100644 --- a/bg/api/Phalcon_Forms_Element_Date.md +++ b/bg/api/Phalcon_Forms_Element_Date.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Forms\\Element\\Date** -*extends* abstract class [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +*extends* abstract class [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) -*implements* [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) +*implements* [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) Source on GitHub @@ -14,130 +14,130 @@ public **render** ([*array* $attributes]) Renders the element widget returning html -public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Phalcon\\Forms\\Element constructor -public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the parent form to the element -public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the parent form to the element -public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element name -public **getName** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getName** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element name -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element filters -public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a filter to current list of filters -public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element filters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a group of validators -public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a validator to the element -public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the validators registered for the element -public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns an array of prepared attributes for Phalcon\\Tag helpers according to the element parameters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default attribute for the element -public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an attribute if present -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets default attributes for the element -public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default attributes for the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets an option for the element -public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an option if present -public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets options for the element -public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the options for the element -public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element label -public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element label -public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Generate the HTML to label the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default value in case the form does not use an entity or there is no value available for the element in _POST -public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default value assigned to the element -public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element value -public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the messages that belongs to the element The element needs to be attached to a form -public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Checks whether there are messages attached to the element -public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the validation messages related to the element -public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Appends a message to the internal message list -public **clear** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **clear** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Clears every element in the form to its default value -public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Magic method __toString renders the widget without attributes \ No newline at end of file diff --git a/bg/api/Phalcon_Forms_Element_Email.md b/bg/api/Phalcon_Forms_Element_Email.md index 46e6c4dd0910..e732f646f360 100644 --- a/bg/api/Phalcon_Forms_Element_Email.md +++ b/bg/api/Phalcon_Forms_Element_Email.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Forms\\Element\\Email** -*extends* abstract class [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +*extends* abstract class [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) -*implements* [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) +*implements* [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) Source on GitHub @@ -14,130 +14,130 @@ public **render** ([*array* $attributes]) Renders the element widget returning html -public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Phalcon\\Forms\\Element constructor -public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the parent form to the element -public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the parent form to the element -public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element name -public **getName** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getName** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element name -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element filters -public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a filter to current list of filters -public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element filters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a group of validators -public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a validator to the element -public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the validators registered for the element -public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns an array of prepared attributes for Phalcon\\Tag helpers according to the element parameters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default attribute for the element -public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an attribute if present -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets default attributes for the element -public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default attributes for the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets an option for the element -public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an option if present -public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets options for the element -public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the options for the element -public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element label -public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element label -public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Generate the HTML to label the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default value in case the form does not use an entity or there is no value available for the element in _POST -public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default value assigned to the element -public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element value -public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the messages that belongs to the element The element needs to be attached to a form -public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Checks whether there are messages attached to the element -public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the validation messages related to the element -public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Appends a message to the internal message list -public **clear** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **clear** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Clears every element in the form to its default value -public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Magic method __toString renders the widget without attributes \ No newline at end of file diff --git a/bg/api/Phalcon_Forms_Element_File.md b/bg/api/Phalcon_Forms_Element_File.md index 04fceec03b0d..b81797926b6f 100644 --- a/bg/api/Phalcon_Forms_Element_File.md +++ b/bg/api/Phalcon_Forms_Element_File.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Forms\\Element\\File** -*extends* abstract class [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +*extends* abstract class [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) -*implements* [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) +*implements* [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) Source on GitHub @@ -14,130 +14,130 @@ public **render** ([*array* $attributes]) Renders the element widget returning html -public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Phalcon\\Forms\\Element constructor -public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the parent form to the element -public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the parent form to the element -public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element name -public **getName** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getName** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element name -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element filters -public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a filter to current list of filters -public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element filters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a group of validators -public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a validator to the element -public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the validators registered for the element -public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns an array of prepared attributes for Phalcon\\Tag helpers according to the element parameters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default attribute for the element -public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an attribute if present -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets default attributes for the element -public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default attributes for the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets an option for the element -public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an option if present -public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets options for the element -public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the options for the element -public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element label -public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element label -public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Generate the HTML to label the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default value in case the form does not use an entity or there is no value available for the element in _POST -public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default value assigned to the element -public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element value -public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the messages that belongs to the element The element needs to be attached to a form -public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Checks whether there are messages attached to the element -public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the validation messages related to the element -public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Appends a message to the internal message list -public **clear** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **clear** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Clears every element in the form to its default value -public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Magic method __toString renders the widget without attributes \ No newline at end of file diff --git a/bg/api/Phalcon_Forms_Element_Hidden.md b/bg/api/Phalcon_Forms_Element_Hidden.md index 317e3fe554b8..91457ea53c89 100644 --- a/bg/api/Phalcon_Forms_Element_Hidden.md +++ b/bg/api/Phalcon_Forms_Element_Hidden.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Forms\\Element\\Hidden** -*extends* abstract class [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +*extends* abstract class [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) -*implements* [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) +*implements* [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) Source on GitHub @@ -14,130 +14,130 @@ public **render** ([*array* $attributes]) Renders the element widget returning html -public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Phalcon\\Forms\\Element constructor -public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the parent form to the element -public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the parent form to the element -public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element name -public **getName** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getName** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element name -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element filters -public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a filter to current list of filters -public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element filters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a group of validators -public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a validator to the element -public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the validators registered for the element -public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns an array of prepared attributes for Phalcon\\Tag helpers according to the element parameters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default attribute for the element -public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an attribute if present -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets default attributes for the element -public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default attributes for the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets an option for the element -public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an option if present -public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets options for the element -public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the options for the element -public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element label -public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element label -public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Generate the HTML to label the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default value in case the form does not use an entity or there is no value available for the element in _POST -public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default value assigned to the element -public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element value -public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the messages that belongs to the element The element needs to be attached to a form -public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Checks whether there are messages attached to the element -public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the validation messages related to the element -public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Appends a message to the internal message list -public **clear** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **clear** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Clears every element in the form to its default value -public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Magic method __toString renders the widget without attributes \ No newline at end of file diff --git a/bg/api/Phalcon_Forms_Element_Numeric.md b/bg/api/Phalcon_Forms_Element_Numeric.md index 1b13ae0d294f..cd365f3c022b 100644 --- a/bg/api/Phalcon_Forms_Element_Numeric.md +++ b/bg/api/Phalcon_Forms_Element_Numeric.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Forms\\Element\\Numeric** -*extends* abstract class [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +*extends* abstract class [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) -*implements* [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) +*implements* [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) Source on GitHub @@ -14,130 +14,130 @@ public **render** ([*array* $attributes]) Renders the element widget returning html -public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Phalcon\\Forms\\Element constructor -public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the parent form to the element -public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the parent form to the element -public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element name -public **getName** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getName** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element name -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element filters -public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a filter to current list of filters -public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element filters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a group of validators -public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a validator to the element -public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the validators registered for the element -public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns an array of prepared attributes for Phalcon\\Tag helpers according to the element parameters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default attribute for the element -public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an attribute if present -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets default attributes for the element -public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default attributes for the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets an option for the element -public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an option if present -public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets options for the element -public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the options for the element -public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element label -public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element label -public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Generate the HTML to label the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default value in case the form does not use an entity or there is no value available for the element in _POST -public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default value assigned to the element -public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element value -public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the messages that belongs to the element The element needs to be attached to a form -public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Checks whether there are messages attached to the element -public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the validation messages related to the element -public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Appends a message to the internal message list -public **clear** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **clear** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Clears every element in the form to its default value -public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Magic method __toString renders the widget without attributes \ No newline at end of file diff --git a/bs/api/Phalcon_Cli_Router_Route.md b/bs/api/Phalcon_Cli_Router_Route.md index 73e76009acee..290d5404abd8 100644 --- a/bs/api/Phalcon_Cli_Router_Route.md +++ b/bs/api/Phalcon_Cli_Router_Route.md @@ -46,7 +46,7 @@ $router->add( ``` -public [Phalcon\Cli\Router\Route](/en/3.1.2/api/Phalcon_Cli_Router_Route) **beforeMatch** (*callback* $callback) +public [Phalcon\Cli\Router\Route](/en/3.2/api/Phalcon_Cli_Router_Route) **beforeMatch** (*callback* $callback) Sets a callback that is called if the route is matched. The developer can implement any arbitrary conditions here If the callback returns false the route is treated as not matched @@ -74,7 +74,7 @@ public **getReversedPaths** () Returns the paths using positions as keys and names as values -public [Phalcon\Cli\Router\Route](/en/3.1.2/api/Phalcon_Cli_Router_Route) **convert** (*string* $name, *callable* $converter) +public [Phalcon\Cli\Router\Route](/en/3.2/api/Phalcon_Cli_Router_Route) **convert** (*string* $name, *callable* $converter) Adds a converter to perform an additional transformation for certain parameter diff --git a/bs/api/Phalcon_Cli_Task.md b/bs/api/Phalcon_Cli_Task.md index 4090d0b7bf55..15624d08810c 100644 --- a/bs/api/Phalcon_Cli_Task.md +++ b/bs/api/Phalcon_Cli_Task.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cli\\Task** -*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), [Phalcon\Cli\TaskInterface](/en/3.1.2/api/Phalcon_Cli_TaskInterface) +*implements* [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\Cli\TaskInterface](/en/3.2/api/Phalcon_Cli_TaskInterface) Source on GitHub @@ -35,22 +35,22 @@ final public **__construct** () Phalcon\\Cli\\Task constructor -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 **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Sets the event manager -public **getEventsManager** () inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **getEventsManager** () inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Returns the internal event manager -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_Config.md b/bs/api/Phalcon_Config.md index 55a3611a9d38..7b972faed1f5 100644 --- a/bs/api/Phalcon_Config.md +++ b/bs/api/Phalcon_Config.md @@ -28,6 +28,10 @@ $config = new \Phalcon\Config( ``` +## Constants + +*string* **DEFAULT_PATH_DELIMITER** + ## Methods public **__construct** ([*array* $arrayConfig]) @@ -47,6 +51,17 @@ var_dump( ``` +public **path** (*mixed* $path, [*mixed* $defaultValue], [*mixed* $delimiter]) + +Returns a value from current config using a dot separated path. + +```php +path("unknown.path", "default", "."); + +``` + public **get** (*mixed* $index, [*mixed* $defaultValue]) Gets an attribute from the configuration, if the attribute isn't defined returns null If the value is exactly null or is not defined the default value will be used instead @@ -95,7 +110,7 @@ unset($config["database"]); ``` -public **merge** ([Phalcon\Config](/en/3.1.2/api/Phalcon_Config) $config) +public **merge** ([Phalcon\Config](/en/3.2/api/Phalcon_Config) $config) Merges a configuration into the current one @@ -151,6 +166,14 @@ public static **__set_state** (*array* $data) Restores the state of a Phalcon\\Config object +public static **setPathDelimiter** ([*mixed* $delimiter]) + +Sets the default path delimiter + +public static **getPathDelimiter** () + +Gets the default path delimiter + final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) Helper method for merge configs (forwarding nested config instance) \ No newline at end of file diff --git a/bs/api/Phalcon_Config_Adapter_Ini.md b/bs/api/Phalcon_Config_Adapter_Ini.md index 8458550716fa..3576158bc75f 100644 --- a/bs/api/Phalcon_Config_Adapter_Ini.md +++ b/bs/api/Phalcon_Config_Adapter_Ini.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Config\\Adapter\\Ini** -*extends* class [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +*extends* class [Phalcon\Config](/en/3.2/api/Phalcon_Config) *implements* [Countable](http://php.net/manual/en/class.countable.php), [ArrayAccess](http://php.net/manual/en/class.arrayaccess.php) @@ -51,6 +51,10 @@ $config = new \Phalcon\Config\Adapter\Ini( ``` +## Constants + +*string* **DEFAULT_PATH_DELIMITER** + ## Methods public **__construct** (*mixed* $filePath, [*mixed* $mode]) @@ -81,7 +85,7 @@ protected **_cast** (*mixed* $ini) We have to cast values manually because parse_ini_file() has a poor implementation. -public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Allows to check whether an attribute is defined using the array-syntax @@ -94,7 +98,18 @@ var_dump( ``` -public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **path** (*mixed* $path, [*mixed* $defaultValue], [*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Returns a value from current config using a dot separated path. + +```php +path("unknown.path", "default", "."); + +``` + +public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute from the configuration, if the attribute isn't defined returns null If the value is exactly null or is not defined the default value will be used instead @@ -105,7 +120,7 @@ echo $config->get("controllersDir", "../app/controllers/"); ``` -public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute using the array-syntax @@ -118,7 +133,7 @@ print_r( ``` -public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Sets an attribute using the array-syntax @@ -131,7 +146,7 @@ $config["database"] = [ ``` -public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Unsets an attribute using the array-syntax @@ -142,7 +157,7 @@ unset($config["database"]); ``` -public **merge** ([Phalcon\Config](/en/3.1.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **merge** ([Phalcon\Config](/en/3.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Merges a configuration into the current one @@ -161,7 +176,7 @@ $globalConfig->merge($appConfig); ``` -public **toArray** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **toArray** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Converts recursively the object to an array @@ -174,7 +189,7 @@ print_r( ``` -public **count** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **count** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Returns the count of properties set in the config @@ -194,10 +209,18 @@ print $config->count(); ``` -public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Restores the state of a Phalcon\\Config object -final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **setPathDelimiter** ([*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Sets the default path delimiter + +public static **getPathDelimiter** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Gets the default path delimiter + +final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Helper method for merge configs (forwarding nested config instance) \ No newline at end of file diff --git a/bs/api/Phalcon_Config_Adapter_Json.md b/bs/api/Phalcon_Config_Adapter_Json.md index 37d4418b4241..860df550aee3 100644 --- a/bs/api/Phalcon_Config_Adapter_Json.md +++ b/bs/api/Phalcon_Config_Adapter_Json.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Config\\Adapter\\Json** -*extends* class [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +*extends* class [Phalcon\Config](/en/3.2/api/Phalcon_Config) *implements* [Countable](http://php.net/manual/en/class.countable.php), [ArrayAccess](http://php.net/manual/en/class.arrayaccess.php) @@ -29,13 +29,17 @@ echo $config->models->metadata; ``` +## Constants + +*string* **DEFAULT_PATH_DELIMITER** + ## Methods public **__construct** (*mixed* $filePath) Phalcon\\Config\\Adapter\\Json constructor -public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Allows to check whether an attribute is defined using the array-syntax @@ -48,7 +52,18 @@ var_dump( ``` -public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **path** (*mixed* $path, [*mixed* $defaultValue], [*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Returns a value from current config using a dot separated path. + +```php +path("unknown.path", "default", "."); + +``` + +public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute from the configuration, if the attribute isn't defined returns null If the value is exactly null or is not defined the default value will be used instead @@ -59,7 +74,7 @@ echo $config->get("controllersDir", "../app/controllers/"); ``` -public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute using the array-syntax @@ -72,7 +87,7 @@ print_r( ``` -public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Sets an attribute using the array-syntax @@ -85,7 +100,7 @@ $config["database"] = [ ``` -public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Unsets an attribute using the array-syntax @@ -96,7 +111,7 @@ unset($config["database"]); ``` -public **merge** ([Phalcon\Config](/en/3.1.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **merge** ([Phalcon\Config](/en/3.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Merges a configuration into the current one @@ -115,7 +130,7 @@ $globalConfig->merge($appConfig); ``` -public **toArray** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **toArray** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Converts recursively the object to an array @@ -128,7 +143,7 @@ print_r( ``` -public **count** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **count** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Returns the count of properties set in the config @@ -148,10 +163,18 @@ print $config->count(); ``` -public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Restores the state of a Phalcon\\Config object -final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **setPathDelimiter** ([*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Sets the default path delimiter + +public static **getPathDelimiter** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Gets the default path delimiter + +final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Helper method for merge configs (forwarding nested config instance) \ No newline at end of file diff --git a/bs/api/Phalcon_Config_Adapter_Php.md b/bs/api/Phalcon_Config_Adapter_Php.md index d2dbf0e51bc1..844d5a6cdd20 100644 --- a/bs/api/Phalcon_Config_Adapter_Php.md +++ b/bs/api/Phalcon_Config_Adapter_Php.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Config\\Adapter\\Php** -*extends* class [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +*extends* class [Phalcon\Config](/en/3.2/api/Phalcon_Config) *implements* [Countable](http://php.net/manual/en/class.countable.php), [ArrayAccess](http://php.net/manual/en/class.arrayaccess.php) @@ -44,13 +44,17 @@ echo $config->database->username; ``` +## Constants + +*string* **DEFAULT_PATH_DELIMITER** + ## Methods public **__construct** (*mixed* $filePath) Phalcon\\Config\\Adapter\\Php constructor -public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Allows to check whether an attribute is defined using the array-syntax @@ -63,7 +67,18 @@ var_dump( ``` -public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **path** (*mixed* $path, [*mixed* $defaultValue], [*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Returns a value from current config using a dot separated path. + +```php +path("unknown.path", "default", "."); + +``` + +public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute from the configuration, if the attribute isn't defined returns null If the value is exactly null or is not defined the default value will be used instead @@ -74,7 +89,7 @@ echo $config->get("controllersDir", "../app/controllers/"); ``` -public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute using the array-syntax @@ -87,7 +102,7 @@ print_r( ``` -public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Sets an attribute using the array-syntax @@ -100,7 +115,7 @@ $config["database"] = [ ``` -public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Unsets an attribute using the array-syntax @@ -111,7 +126,7 @@ unset($config["database"]); ``` -public **merge** ([Phalcon\Config](/en/3.1.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **merge** ([Phalcon\Config](/en/3.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Merges a configuration into the current one @@ -130,7 +145,7 @@ $globalConfig->merge($appConfig); ``` -public **toArray** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **toArray** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Converts recursively the object to an array @@ -143,7 +158,7 @@ print_r( ``` -public **count** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **count** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Returns the count of properties set in the config @@ -163,10 +178,18 @@ print $config->count(); ``` -public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Restores the state of a Phalcon\\Config object -final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **setPathDelimiter** ([*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Sets the default path delimiter + +public static **getPathDelimiter** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Gets the default path delimiter + +final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Helper method for merge configs (forwarding nested config instance) \ No newline at end of file diff --git a/bs/api/Phalcon_Config_Adapter_Yaml.md b/bs/api/Phalcon_Config_Adapter_Yaml.md index a63e7a518e4d..1955bc04918c 100644 --- a/bs/api/Phalcon_Config_Adapter_Yaml.md +++ b/bs/api/Phalcon_Config_Adapter_Yaml.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Config\\Adapter\\Yaml** -*extends* class [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +*extends* class [Phalcon\Config](/en/3.2/api/Phalcon_Config) *implements* [Countable](http://php.net/manual/en/class.countable.php), [ArrayAccess](http://php.net/manual/en/class.arrayaccess.php) @@ -46,13 +46,17 @@ echo $config->models->metadata; ``` +## Constants + +*string* **DEFAULT_PATH_DELIMITER** + ## Methods public **__construct** (*mixed* $filePath, [*array* $callbacks]) Phalcon\\Config\\Adapter\\Yaml constructor -public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Allows to check whether an attribute is defined using the array-syntax @@ -65,7 +69,18 @@ var_dump( ``` -public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **path** (*mixed* $path, [*mixed* $defaultValue], [*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Returns a value from current config using a dot separated path. + +```php +path("unknown.path", "default", "."); + +``` + +public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute from the configuration, if the attribute isn't defined returns null If the value is exactly null or is not defined the default value will be used instead @@ -76,7 +91,7 @@ echo $config->get("controllersDir", "../app/controllers/"); ``` -public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute using the array-syntax @@ -89,7 +104,7 @@ print_r( ``` -public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Sets an attribute using the array-syntax @@ -102,7 +117,7 @@ $config["database"] = [ ``` -public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Unsets an attribute using the array-syntax @@ -113,7 +128,7 @@ unset($config["database"]); ``` -public **merge** ([Phalcon\Config](/en/3.1.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **merge** ([Phalcon\Config](/en/3.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Merges a configuration into the current one @@ -132,7 +147,7 @@ $globalConfig->merge($appConfig); ``` -public **toArray** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **toArray** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Converts recursively the object to an array @@ -145,7 +160,7 @@ print_r( ``` -public **count** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **count** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Returns the count of properties set in the config @@ -165,10 +180,18 @@ print $config->count(); ``` -public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Restores the state of a Phalcon\\Config object -final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **setPathDelimiter** ([*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Sets the default path delimiter + +public static **getPathDelimiter** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Gets the default path delimiter + +final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Helper method for merge configs (forwarding nested config instance) \ No newline at end of file diff --git a/bs/api/Phalcon_Config_Exception.md b/bs/api/Phalcon_Config_Exception.md index fe180ca140c2..870c720975df 100644 --- a/bs/api/Phalcon_Config_Exception.md +++ b/bs/api/Phalcon_Config_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Config\\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_Crypt.md b/bs/api/Phalcon_Crypt.md index 02729550912f..348e1401a9a0 100644 --- a/bs/api/Phalcon_Crypt.md +++ b/bs/api/Phalcon_Crypt.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Crypt** -*implements* [Phalcon\CryptInterface](/en/3.1.2/api/Phalcon_CryptInterface) +*implements* [Phalcon\CryptInterface](/en/3.2/api/Phalcon_CryptInterface) Source on GitHub diff --git a/bs/api/Phalcon_Crypt_Exception.md b/bs/api/Phalcon_Crypt_Exception.md index 677b1db3e78e..ea2a2af5ed7e 100644 --- a/bs/api/Phalcon_Crypt_Exception.md +++ b/bs/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/bs/api/Phalcon_Flash.md b/bs/api/Phalcon_Flash.md index 46db08bba6b6..fab60ddca1fb 100644 --- a/bs/api/Phalcon_Flash.md +++ b/bs/api/Phalcon_Flash.md @@ -1,6 +1,6 @@ # Abstract class **Phalcon\\Flash** -*implements* [Phalcon\FlashInterface](/en/3.1.2/api/Phalcon_FlashInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.1.2/api/Phalcon_Di_InjectionAwareInterface) +*implements* [Phalcon\FlashInterface](/en/3.2/api/Phalcon_FlashInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface) Source on GitHub @@ -32,11 +32,11 @@ public **getEscaperService** () Returns the Escaper Service -public **setEscaperService** ([Phalcon\EscaperInterface](/en/3.1.2/api/Phalcon_EscaperInterface) $escaperService) +public **setEscaperService** ([Phalcon\EscaperInterface](/en/3.2/api/Phalcon_EscaperInterface) $escaperService) Sets the Escaper Service -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 @@ -115,6 +115,6 @@ public **clear** () Clears accumulated messages when implicit flush is disabled -abstract public **message** (*mixed* $type, *mixed* $message) inherited from [Phalcon\FlashInterface](/en/3.1.2/api/Phalcon_FlashInterface) +abstract public **message** (*mixed* $type, *mixed* $message) inherited from [Phalcon\FlashInterface](/en/3.2/api/Phalcon_FlashInterface) ... \ No newline at end of file diff --git a/bs/api/Phalcon_Flash_Direct.md b/bs/api/Phalcon_Flash_Direct.md index 5563e108b68e..9b8045cf2a4e 100644 --- a/bs/api/Phalcon_Flash_Direct.md +++ b/bs/api/Phalcon_Flash_Direct.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Flash\\Direct** -*extends* abstract class [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +*extends* abstract class [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) -*implements* [Phalcon\Di\InjectionAwareInterface](/en/3.1.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\FlashInterface](/en/3.1.2/api/Phalcon_FlashInterface) +*implements* [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\FlashInterface](/en/3.2/api/Phalcon_FlashInterface) Source on GitHub @@ -18,47 +18,47 @@ public **output** ([*mixed* $remove]) Prints the messages accumulated in the flasher -public **__construct** ([*mixed* $cssClasses]) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **__construct** ([*mixed* $cssClasses]) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Phalcon\\Flash constructor -public **getAutoescape** () inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **getAutoescape** () inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Returns the autoescape mode in generated html -public **setAutoescape** (*mixed* $autoescape) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **setAutoescape** (*mixed* $autoescape) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Set the autoescape mode in generated html -public **getEscaperService** () inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **getEscaperService** () inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Returns the Escaper Service -public **setEscaperService** ([Phalcon\EscaperInterface](/en/3.1.2/api/Phalcon_EscaperInterface) $escaperService) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **setEscaperService** ([Phalcon\EscaperInterface](/en/3.2/api/Phalcon_EscaperInterface) $escaperService) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Sets the Escaper Service -public **setDI** ([Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **setDI** ([Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Sets the dependency injector -public **getDI** () inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **getDI** () inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Returns the internal dependency injector -public **setImplicitFlush** (*mixed* $implicitFlush) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **setImplicitFlush** (*mixed* $implicitFlush) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Set whether the output must be implicitly flushed to the output or returned as string -public **setAutomaticHtml** (*mixed* $automaticHtml) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **setAutomaticHtml** (*mixed* $automaticHtml) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Set if the output must be implicitly formatted with HTML -public **setCssClasses** (*array* $cssClasses) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **setCssClasses** (*array* $cssClasses) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Set an array with CSS classes to format the messages -public **error** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **error** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Shows a HTML error message @@ -69,7 +69,7 @@ $flash->error("This is an error"); ``` -public **notice** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **notice** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Shows a HTML notice/information message @@ -80,7 +80,7 @@ $flash->notice("This is an information"); ``` -public **success** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **success** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Shows a HTML success message @@ -91,7 +91,7 @@ $flash->success("The process was finished successfully"); ``` -public **warning** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **warning** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Shows a HTML warning message @@ -102,7 +102,7 @@ $flash->warning("Hey, this is important"); ``` -public *string* | *void* **outputMessage** (*mixed* $type, *string* | *array* $message) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public *string* | *void* **outputMessage** (*mixed* $type, *string* | *array* $message) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Outputs a message formatting it with HTML @@ -113,6 +113,6 @@ $flash->outputMessage("error", $message); ``` -public **clear** () inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **clear** () inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Clears accumulated messages when implicit flush is disabled \ No newline at end of file diff --git a/bs/api/Phalcon_Forms_ElementInterface.md b/bs/api/Phalcon_Forms_ElementInterface.md index bde079440bdc..8108787311a9 100644 --- a/bs/api/Phalcon_Forms_ElementInterface.md +++ b/bs/api/Phalcon_Forms_ElementInterface.md @@ -4,7 +4,7 @@ ## Methods -abstract public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) +abstract public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) ... @@ -36,7 +36,7 @@ abstract public **addValidators** (*array* $validators, [*mixed* $merge]) ... -abstract public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) +abstract public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) ... @@ -112,11 +112,11 @@ abstract public **hasMessages** () ... -abstract public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) +abstract public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) ... -abstract public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) +abstract public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) ... diff --git a/bs/api/Phalcon_Forms_Element_Check.md b/bs/api/Phalcon_Forms_Element_Check.md index f7f53cada4b4..320a3d0b2bed 100644 --- a/bs/api/Phalcon_Forms_Element_Check.md +++ b/bs/api/Phalcon_Forms_Element_Check.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Forms\\Element\\Check** -*extends* abstract class [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +*extends* abstract class [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) -*implements* [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) +*implements* [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) Source on GitHub @@ -14,130 +14,130 @@ public **render** ([*array* $attributes]) Renders the element widget returning html -public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Phalcon\\Forms\\Element constructor -public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the parent form to the element -public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the parent form to the element -public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element name -public **getName** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getName** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element name -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element filters -public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a filter to current list of filters -public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element filters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a group of validators -public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a validator to the element -public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the validators registered for the element -public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns an array of prepared attributes for Phalcon\\Tag helpers according to the element parameters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default attribute for the element -public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an attribute if present -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets default attributes for the element -public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default attributes for the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets an option for the element -public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an option if present -public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets options for the element -public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the options for the element -public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element label -public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element label -public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Generate the HTML to label the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default value in case the form does not use an entity or there is no value available for the element in _POST -public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default value assigned to the element -public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element value -public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the messages that belongs to the element The element needs to be attached to a form -public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Checks whether there are messages attached to the element -public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the validation messages related to the element -public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Appends a message to the internal message list -public **clear** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **clear** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Clears every element in the form to its default value -public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Magic method __toString renders the widget without attributes \ No newline at end of file diff --git a/bs/api/Phalcon_Forms_Element_Date.md b/bs/api/Phalcon_Forms_Element_Date.md index 9bdd42965358..701a6b5ffe81 100644 --- a/bs/api/Phalcon_Forms_Element_Date.md +++ b/bs/api/Phalcon_Forms_Element_Date.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Forms\\Element\\Date** -*extends* abstract class [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +*extends* abstract class [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) -*implements* [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) +*implements* [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) Source on GitHub @@ -14,130 +14,130 @@ public **render** ([*array* $attributes]) Renders the element widget returning html -public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Phalcon\\Forms\\Element constructor -public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the parent form to the element -public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the parent form to the element -public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element name -public **getName** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getName** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element name -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element filters -public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a filter to current list of filters -public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element filters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a group of validators -public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a validator to the element -public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the validators registered for the element -public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns an array of prepared attributes for Phalcon\\Tag helpers according to the element parameters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default attribute for the element -public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an attribute if present -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets default attributes for the element -public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default attributes for the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets an option for the element -public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an option if present -public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets options for the element -public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the options for the element -public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element label -public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element label -public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Generate the HTML to label the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default value in case the form does not use an entity or there is no value available for the element in _POST -public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default value assigned to the element -public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element value -public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the messages that belongs to the element The element needs to be attached to a form -public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Checks whether there are messages attached to the element -public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the validation messages related to the element -public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Appends a message to the internal message list -public **clear** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **clear** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Clears every element in the form to its default value -public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Magic method __toString renders the widget without attributes \ No newline at end of file diff --git a/bs/api/Phalcon_Forms_Element_Email.md b/bs/api/Phalcon_Forms_Element_Email.md index 46e6c4dd0910..e732f646f360 100644 --- a/bs/api/Phalcon_Forms_Element_Email.md +++ b/bs/api/Phalcon_Forms_Element_Email.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Forms\\Element\\Email** -*extends* abstract class [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +*extends* abstract class [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) -*implements* [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) +*implements* [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) Source on GitHub @@ -14,130 +14,130 @@ public **render** ([*array* $attributes]) Renders the element widget returning html -public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Phalcon\\Forms\\Element constructor -public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the parent form to the element -public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the parent form to the element -public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element name -public **getName** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getName** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element name -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element filters -public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a filter to current list of filters -public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element filters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a group of validators -public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a validator to the element -public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the validators registered for the element -public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns an array of prepared attributes for Phalcon\\Tag helpers according to the element parameters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default attribute for the element -public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an attribute if present -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets default attributes for the element -public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default attributes for the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets an option for the element -public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an option if present -public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets options for the element -public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the options for the element -public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element label -public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element label -public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Generate the HTML to label the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default value in case the form does not use an entity or there is no value available for the element in _POST -public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default value assigned to the element -public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element value -public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the messages that belongs to the element The element needs to be attached to a form -public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Checks whether there are messages attached to the element -public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the validation messages related to the element -public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Appends a message to the internal message list -public **clear** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **clear** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Clears every element in the form to its default value -public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Magic method __toString renders the widget without attributes \ No newline at end of file diff --git a/bs/api/Phalcon_Forms_Element_File.md b/bs/api/Phalcon_Forms_Element_File.md index 04fceec03b0d..b81797926b6f 100644 --- a/bs/api/Phalcon_Forms_Element_File.md +++ b/bs/api/Phalcon_Forms_Element_File.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Forms\\Element\\File** -*extends* abstract class [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +*extends* abstract class [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) -*implements* [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) +*implements* [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) Source on GitHub @@ -14,130 +14,130 @@ public **render** ([*array* $attributes]) Renders the element widget returning html -public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Phalcon\\Forms\\Element constructor -public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the parent form to the element -public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the parent form to the element -public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element name -public **getName** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getName** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element name -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element filters -public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a filter to current list of filters -public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element filters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a group of validators -public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a validator to the element -public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the validators registered for the element -public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns an array of prepared attributes for Phalcon\\Tag helpers according to the element parameters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default attribute for the element -public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an attribute if present -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets default attributes for the element -public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default attributes for the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets an option for the element -public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an option if present -public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets options for the element -public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the options for the element -public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element label -public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element label -public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Generate the HTML to label the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default value in case the form does not use an entity or there is no value available for the element in _POST -public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default value assigned to the element -public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element value -public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the messages that belongs to the element The element needs to be attached to a form -public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Checks whether there are messages attached to the element -public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the validation messages related to the element -public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Appends a message to the internal message list -public **clear** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **clear** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Clears every element in the form to its default value -public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Magic method __toString renders the widget without attributes \ No newline at end of file diff --git a/bs/api/Phalcon_Forms_Element_Hidden.md b/bs/api/Phalcon_Forms_Element_Hidden.md index 317e3fe554b8..91457ea53c89 100644 --- a/bs/api/Phalcon_Forms_Element_Hidden.md +++ b/bs/api/Phalcon_Forms_Element_Hidden.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Forms\\Element\\Hidden** -*extends* abstract class [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +*extends* abstract class [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) -*implements* [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) +*implements* [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) Source on GitHub @@ -14,130 +14,130 @@ public **render** ([*array* $attributes]) Renders the element widget returning html -public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Phalcon\\Forms\\Element constructor -public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the parent form to the element -public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the parent form to the element -public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element name -public **getName** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getName** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element name -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element filters -public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a filter to current list of filters -public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element filters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a group of validators -public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a validator to the element -public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the validators registered for the element -public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns an array of prepared attributes for Phalcon\\Tag helpers according to the element parameters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default attribute for the element -public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an attribute if present -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets default attributes for the element -public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default attributes for the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets an option for the element -public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an option if present -public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets options for the element -public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the options for the element -public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element label -public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element label -public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Generate the HTML to label the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default value in case the form does not use an entity or there is no value available for the element in _POST -public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default value assigned to the element -public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element value -public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the messages that belongs to the element The element needs to be attached to a form -public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Checks whether there are messages attached to the element -public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the validation messages related to the element -public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Appends a message to the internal message list -public **clear** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **clear** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Clears every element in the form to its default value -public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Magic method __toString renders the widget without attributes \ No newline at end of file diff --git a/bs/api/Phalcon_Forms_Element_Numeric.md b/bs/api/Phalcon_Forms_Element_Numeric.md index 1b13ae0d294f..cd365f3c022b 100644 --- a/bs/api/Phalcon_Forms_Element_Numeric.md +++ b/bs/api/Phalcon_Forms_Element_Numeric.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Forms\\Element\\Numeric** -*extends* abstract class [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +*extends* abstract class [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) -*implements* [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) +*implements* [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) Source on GitHub @@ -14,130 +14,130 @@ public **render** ([*array* $attributes]) Renders the element widget returning html -public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Phalcon\\Forms\\Element constructor -public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the parent form to the element -public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the parent form to the element -public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element name -public **getName** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getName** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element name -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element filters -public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a filter to current list of filters -public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element filters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a group of validators -public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a validator to the element -public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the validators registered for the element -public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns an array of prepared attributes for Phalcon\\Tag helpers according to the element parameters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default attribute for the element -public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an attribute if present -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets default attributes for the element -public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default attributes for the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets an option for the element -public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an option if present -public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets options for the element -public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the options for the element -public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element label -public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element label -public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Generate the HTML to label the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default value in case the form does not use an entity or there is no value available for the element in _POST -public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default value assigned to the element -public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element value -public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the messages that belongs to the element The element needs to be attached to a form -public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Checks whether there are messages attached to the element -public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the validation messages related to the element -public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Appends a message to the internal message list -public **clear** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **clear** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Clears every element in the form to its default value -public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Magic method __toString renders the widget without attributes \ No newline at end of file diff --git a/cs/api/Phalcon_Cli_Router_Route.md b/cs/api/Phalcon_Cli_Router_Route.md index 73e76009acee..290d5404abd8 100644 --- a/cs/api/Phalcon_Cli_Router_Route.md +++ b/cs/api/Phalcon_Cli_Router_Route.md @@ -46,7 +46,7 @@ $router->add( ``` -public [Phalcon\Cli\Router\Route](/en/3.1.2/api/Phalcon_Cli_Router_Route) **beforeMatch** (*callback* $callback) +public [Phalcon\Cli\Router\Route](/en/3.2/api/Phalcon_Cli_Router_Route) **beforeMatch** (*callback* $callback) Sets a callback that is called if the route is matched. The developer can implement any arbitrary conditions here If the callback returns false the route is treated as not matched @@ -74,7 +74,7 @@ public **getReversedPaths** () Returns the paths using positions as keys and names as values -public [Phalcon\Cli\Router\Route](/en/3.1.2/api/Phalcon_Cli_Router_Route) **convert** (*string* $name, *callable* $converter) +public [Phalcon\Cli\Router\Route](/en/3.2/api/Phalcon_Cli_Router_Route) **convert** (*string* $name, *callable* $converter) Adds a converter to perform an additional transformation for certain parameter diff --git a/cs/api/Phalcon_Cli_Task.md b/cs/api/Phalcon_Cli_Task.md index 4090d0b7bf55..15624d08810c 100644 --- a/cs/api/Phalcon_Cli_Task.md +++ b/cs/api/Phalcon_Cli_Task.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cli\\Task** -*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), [Phalcon\Cli\TaskInterface](/en/3.1.2/api/Phalcon_Cli_TaskInterface) +*implements* [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\Cli\TaskInterface](/en/3.2/api/Phalcon_Cli_TaskInterface) Source on GitHub @@ -35,22 +35,22 @@ final public **__construct** () Phalcon\\Cli\\Task constructor -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 **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Sets the event manager -public **getEventsManager** () inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **getEventsManager** () inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Returns the internal event manager -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_Config.md b/cs/api/Phalcon_Config.md index 55a3611a9d38..7b972faed1f5 100644 --- a/cs/api/Phalcon_Config.md +++ b/cs/api/Phalcon_Config.md @@ -28,6 +28,10 @@ $config = new \Phalcon\Config( ``` +## Constants + +*string* **DEFAULT_PATH_DELIMITER** + ## Methods public **__construct** ([*array* $arrayConfig]) @@ -47,6 +51,17 @@ var_dump( ``` +public **path** (*mixed* $path, [*mixed* $defaultValue], [*mixed* $delimiter]) + +Returns a value from current config using a dot separated path. + +```php +path("unknown.path", "default", "."); + +``` + public **get** (*mixed* $index, [*mixed* $defaultValue]) Gets an attribute from the configuration, if the attribute isn't defined returns null If the value is exactly null or is not defined the default value will be used instead @@ -95,7 +110,7 @@ unset($config["database"]); ``` -public **merge** ([Phalcon\Config](/en/3.1.2/api/Phalcon_Config) $config) +public **merge** ([Phalcon\Config](/en/3.2/api/Phalcon_Config) $config) Merges a configuration into the current one @@ -151,6 +166,14 @@ public static **__set_state** (*array* $data) Restores the state of a Phalcon\\Config object +public static **setPathDelimiter** ([*mixed* $delimiter]) + +Sets the default path delimiter + +public static **getPathDelimiter** () + +Gets the default path delimiter + final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) Helper method for merge configs (forwarding nested config instance) \ No newline at end of file diff --git a/cs/api/Phalcon_Config_Adapter_Ini.md b/cs/api/Phalcon_Config_Adapter_Ini.md index 8458550716fa..3576158bc75f 100644 --- a/cs/api/Phalcon_Config_Adapter_Ini.md +++ b/cs/api/Phalcon_Config_Adapter_Ini.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Config\\Adapter\\Ini** -*extends* class [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +*extends* class [Phalcon\Config](/en/3.2/api/Phalcon_Config) *implements* [Countable](http://php.net/manual/en/class.countable.php), [ArrayAccess](http://php.net/manual/en/class.arrayaccess.php) @@ -51,6 +51,10 @@ $config = new \Phalcon\Config\Adapter\Ini( ``` +## Constants + +*string* **DEFAULT_PATH_DELIMITER** + ## Methods public **__construct** (*mixed* $filePath, [*mixed* $mode]) @@ -81,7 +85,7 @@ protected **_cast** (*mixed* $ini) We have to cast values manually because parse_ini_file() has a poor implementation. -public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Allows to check whether an attribute is defined using the array-syntax @@ -94,7 +98,18 @@ var_dump( ``` -public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **path** (*mixed* $path, [*mixed* $defaultValue], [*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Returns a value from current config using a dot separated path. + +```php +path("unknown.path", "default", "."); + +``` + +public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute from the configuration, if the attribute isn't defined returns null If the value is exactly null or is not defined the default value will be used instead @@ -105,7 +120,7 @@ echo $config->get("controllersDir", "../app/controllers/"); ``` -public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute using the array-syntax @@ -118,7 +133,7 @@ print_r( ``` -public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Sets an attribute using the array-syntax @@ -131,7 +146,7 @@ $config["database"] = [ ``` -public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Unsets an attribute using the array-syntax @@ -142,7 +157,7 @@ unset($config["database"]); ``` -public **merge** ([Phalcon\Config](/en/3.1.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **merge** ([Phalcon\Config](/en/3.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Merges a configuration into the current one @@ -161,7 +176,7 @@ $globalConfig->merge($appConfig); ``` -public **toArray** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **toArray** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Converts recursively the object to an array @@ -174,7 +189,7 @@ print_r( ``` -public **count** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **count** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Returns the count of properties set in the config @@ -194,10 +209,18 @@ print $config->count(); ``` -public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Restores the state of a Phalcon\\Config object -final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **setPathDelimiter** ([*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Sets the default path delimiter + +public static **getPathDelimiter** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Gets the default path delimiter + +final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Helper method for merge configs (forwarding nested config instance) \ No newline at end of file diff --git a/cs/api/Phalcon_Config_Adapter_Json.md b/cs/api/Phalcon_Config_Adapter_Json.md index 37d4418b4241..860df550aee3 100644 --- a/cs/api/Phalcon_Config_Adapter_Json.md +++ b/cs/api/Phalcon_Config_Adapter_Json.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Config\\Adapter\\Json** -*extends* class [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +*extends* class [Phalcon\Config](/en/3.2/api/Phalcon_Config) *implements* [Countable](http://php.net/manual/en/class.countable.php), [ArrayAccess](http://php.net/manual/en/class.arrayaccess.php) @@ -29,13 +29,17 @@ echo $config->models->metadata; ``` +## Constants + +*string* **DEFAULT_PATH_DELIMITER** + ## Methods public **__construct** (*mixed* $filePath) Phalcon\\Config\\Adapter\\Json constructor -public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Allows to check whether an attribute is defined using the array-syntax @@ -48,7 +52,18 @@ var_dump( ``` -public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **path** (*mixed* $path, [*mixed* $defaultValue], [*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Returns a value from current config using a dot separated path. + +```php +path("unknown.path", "default", "."); + +``` + +public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute from the configuration, if the attribute isn't defined returns null If the value is exactly null or is not defined the default value will be used instead @@ -59,7 +74,7 @@ echo $config->get("controllersDir", "../app/controllers/"); ``` -public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute using the array-syntax @@ -72,7 +87,7 @@ print_r( ``` -public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Sets an attribute using the array-syntax @@ -85,7 +100,7 @@ $config["database"] = [ ``` -public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Unsets an attribute using the array-syntax @@ -96,7 +111,7 @@ unset($config["database"]); ``` -public **merge** ([Phalcon\Config](/en/3.1.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **merge** ([Phalcon\Config](/en/3.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Merges a configuration into the current one @@ -115,7 +130,7 @@ $globalConfig->merge($appConfig); ``` -public **toArray** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **toArray** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Converts recursively the object to an array @@ -128,7 +143,7 @@ print_r( ``` -public **count** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **count** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Returns the count of properties set in the config @@ -148,10 +163,18 @@ print $config->count(); ``` -public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Restores the state of a Phalcon\\Config object -final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **setPathDelimiter** ([*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Sets the default path delimiter + +public static **getPathDelimiter** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Gets the default path delimiter + +final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Helper method for merge configs (forwarding nested config instance) \ No newline at end of file diff --git a/cs/api/Phalcon_Config_Adapter_Php.md b/cs/api/Phalcon_Config_Adapter_Php.md index d2dbf0e51bc1..844d5a6cdd20 100644 --- a/cs/api/Phalcon_Config_Adapter_Php.md +++ b/cs/api/Phalcon_Config_Adapter_Php.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Config\\Adapter\\Php** -*extends* class [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +*extends* class [Phalcon\Config](/en/3.2/api/Phalcon_Config) *implements* [Countable](http://php.net/manual/en/class.countable.php), [ArrayAccess](http://php.net/manual/en/class.arrayaccess.php) @@ -44,13 +44,17 @@ echo $config->database->username; ``` +## Constants + +*string* **DEFAULT_PATH_DELIMITER** + ## Methods public **__construct** (*mixed* $filePath) Phalcon\\Config\\Adapter\\Php constructor -public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Allows to check whether an attribute is defined using the array-syntax @@ -63,7 +67,18 @@ var_dump( ``` -public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **path** (*mixed* $path, [*mixed* $defaultValue], [*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Returns a value from current config using a dot separated path. + +```php +path("unknown.path", "default", "."); + +``` + +public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute from the configuration, if the attribute isn't defined returns null If the value is exactly null or is not defined the default value will be used instead @@ -74,7 +89,7 @@ echo $config->get("controllersDir", "../app/controllers/"); ``` -public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute using the array-syntax @@ -87,7 +102,7 @@ print_r( ``` -public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Sets an attribute using the array-syntax @@ -100,7 +115,7 @@ $config["database"] = [ ``` -public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Unsets an attribute using the array-syntax @@ -111,7 +126,7 @@ unset($config["database"]); ``` -public **merge** ([Phalcon\Config](/en/3.1.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **merge** ([Phalcon\Config](/en/3.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Merges a configuration into the current one @@ -130,7 +145,7 @@ $globalConfig->merge($appConfig); ``` -public **toArray** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **toArray** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Converts recursively the object to an array @@ -143,7 +158,7 @@ print_r( ``` -public **count** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **count** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Returns the count of properties set in the config @@ -163,10 +178,18 @@ print $config->count(); ``` -public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Restores the state of a Phalcon\\Config object -final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **setPathDelimiter** ([*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Sets the default path delimiter + +public static **getPathDelimiter** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Gets the default path delimiter + +final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Helper method for merge configs (forwarding nested config instance) \ No newline at end of file diff --git a/cs/api/Phalcon_Config_Adapter_Yaml.md b/cs/api/Phalcon_Config_Adapter_Yaml.md index a63e7a518e4d..1955bc04918c 100644 --- a/cs/api/Phalcon_Config_Adapter_Yaml.md +++ b/cs/api/Phalcon_Config_Adapter_Yaml.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Config\\Adapter\\Yaml** -*extends* class [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +*extends* class [Phalcon\Config](/en/3.2/api/Phalcon_Config) *implements* [Countable](http://php.net/manual/en/class.countable.php), [ArrayAccess](http://php.net/manual/en/class.arrayaccess.php) @@ -46,13 +46,17 @@ echo $config->models->metadata; ``` +## Constants + +*string* **DEFAULT_PATH_DELIMITER** + ## Methods public **__construct** (*mixed* $filePath, [*array* $callbacks]) Phalcon\\Config\\Adapter\\Yaml constructor -public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Allows to check whether an attribute is defined using the array-syntax @@ -65,7 +69,18 @@ var_dump( ``` -public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **path** (*mixed* $path, [*mixed* $defaultValue], [*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Returns a value from current config using a dot separated path. + +```php +path("unknown.path", "default", "."); + +``` + +public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute from the configuration, if the attribute isn't defined returns null If the value is exactly null or is not defined the default value will be used instead @@ -76,7 +91,7 @@ echo $config->get("controllersDir", "../app/controllers/"); ``` -public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute using the array-syntax @@ -89,7 +104,7 @@ print_r( ``` -public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Sets an attribute using the array-syntax @@ -102,7 +117,7 @@ $config["database"] = [ ``` -public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Unsets an attribute using the array-syntax @@ -113,7 +128,7 @@ unset($config["database"]); ``` -public **merge** ([Phalcon\Config](/en/3.1.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **merge** ([Phalcon\Config](/en/3.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Merges a configuration into the current one @@ -132,7 +147,7 @@ $globalConfig->merge($appConfig); ``` -public **toArray** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **toArray** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Converts recursively the object to an array @@ -145,7 +160,7 @@ print_r( ``` -public **count** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **count** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Returns the count of properties set in the config @@ -165,10 +180,18 @@ print $config->count(); ``` -public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Restores the state of a Phalcon\\Config object -final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **setPathDelimiter** ([*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Sets the default path delimiter + +public static **getPathDelimiter** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Gets the default path delimiter + +final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Helper method for merge configs (forwarding nested config instance) \ No newline at end of file diff --git a/cs/api/Phalcon_Config_Exception.md b/cs/api/Phalcon_Config_Exception.md index fe180ca140c2..870c720975df 100644 --- a/cs/api/Phalcon_Config_Exception.md +++ b/cs/api/Phalcon_Config_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Config\\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_Crypt.md b/cs/api/Phalcon_Crypt.md index 02729550912f..348e1401a9a0 100644 --- a/cs/api/Phalcon_Crypt.md +++ b/cs/api/Phalcon_Crypt.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Crypt** -*implements* [Phalcon\CryptInterface](/en/3.1.2/api/Phalcon_CryptInterface) +*implements* [Phalcon\CryptInterface](/en/3.2/api/Phalcon_CryptInterface) Source on GitHub diff --git a/cs/api/Phalcon_Crypt_Exception.md b/cs/api/Phalcon_Crypt_Exception.md index 677b1db3e78e..ea2a2af5ed7e 100644 --- a/cs/api/Phalcon_Crypt_Exception.md +++ b/cs/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/cs/api/Phalcon_Flash.md b/cs/api/Phalcon_Flash.md index 46db08bba6b6..fab60ddca1fb 100644 --- a/cs/api/Phalcon_Flash.md +++ b/cs/api/Phalcon_Flash.md @@ -1,6 +1,6 @@ # Abstract class **Phalcon\\Flash** -*implements* [Phalcon\FlashInterface](/en/3.1.2/api/Phalcon_FlashInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.1.2/api/Phalcon_Di_InjectionAwareInterface) +*implements* [Phalcon\FlashInterface](/en/3.2/api/Phalcon_FlashInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface) Source on GitHub @@ -32,11 +32,11 @@ public **getEscaperService** () Returns the Escaper Service -public **setEscaperService** ([Phalcon\EscaperInterface](/en/3.1.2/api/Phalcon_EscaperInterface) $escaperService) +public **setEscaperService** ([Phalcon\EscaperInterface](/en/3.2/api/Phalcon_EscaperInterface) $escaperService) Sets the Escaper Service -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 @@ -115,6 +115,6 @@ public **clear** () Clears accumulated messages when implicit flush is disabled -abstract public **message** (*mixed* $type, *mixed* $message) inherited from [Phalcon\FlashInterface](/en/3.1.2/api/Phalcon_FlashInterface) +abstract public **message** (*mixed* $type, *mixed* $message) inherited from [Phalcon\FlashInterface](/en/3.2/api/Phalcon_FlashInterface) ... \ No newline at end of file diff --git a/cs/api/Phalcon_Flash_Direct.md b/cs/api/Phalcon_Flash_Direct.md index 5563e108b68e..9b8045cf2a4e 100644 --- a/cs/api/Phalcon_Flash_Direct.md +++ b/cs/api/Phalcon_Flash_Direct.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Flash\\Direct** -*extends* abstract class [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +*extends* abstract class [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) -*implements* [Phalcon\Di\InjectionAwareInterface](/en/3.1.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\FlashInterface](/en/3.1.2/api/Phalcon_FlashInterface) +*implements* [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\FlashInterface](/en/3.2/api/Phalcon_FlashInterface) Source on GitHub @@ -18,47 +18,47 @@ public **output** ([*mixed* $remove]) Prints the messages accumulated in the flasher -public **__construct** ([*mixed* $cssClasses]) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **__construct** ([*mixed* $cssClasses]) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Phalcon\\Flash constructor -public **getAutoescape** () inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **getAutoescape** () inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Returns the autoescape mode in generated html -public **setAutoescape** (*mixed* $autoescape) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **setAutoescape** (*mixed* $autoescape) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Set the autoescape mode in generated html -public **getEscaperService** () inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **getEscaperService** () inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Returns the Escaper Service -public **setEscaperService** ([Phalcon\EscaperInterface](/en/3.1.2/api/Phalcon_EscaperInterface) $escaperService) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **setEscaperService** ([Phalcon\EscaperInterface](/en/3.2/api/Phalcon_EscaperInterface) $escaperService) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Sets the Escaper Service -public **setDI** ([Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **setDI** ([Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Sets the dependency injector -public **getDI** () inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **getDI** () inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Returns the internal dependency injector -public **setImplicitFlush** (*mixed* $implicitFlush) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **setImplicitFlush** (*mixed* $implicitFlush) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Set whether the output must be implicitly flushed to the output or returned as string -public **setAutomaticHtml** (*mixed* $automaticHtml) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **setAutomaticHtml** (*mixed* $automaticHtml) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Set if the output must be implicitly formatted with HTML -public **setCssClasses** (*array* $cssClasses) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **setCssClasses** (*array* $cssClasses) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Set an array with CSS classes to format the messages -public **error** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **error** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Shows a HTML error message @@ -69,7 +69,7 @@ $flash->error("This is an error"); ``` -public **notice** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **notice** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Shows a HTML notice/information message @@ -80,7 +80,7 @@ $flash->notice("This is an information"); ``` -public **success** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **success** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Shows a HTML success message @@ -91,7 +91,7 @@ $flash->success("The process was finished successfully"); ``` -public **warning** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **warning** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Shows a HTML warning message @@ -102,7 +102,7 @@ $flash->warning("Hey, this is important"); ``` -public *string* | *void* **outputMessage** (*mixed* $type, *string* | *array* $message) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public *string* | *void* **outputMessage** (*mixed* $type, *string* | *array* $message) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Outputs a message formatting it with HTML @@ -113,6 +113,6 @@ $flash->outputMessage("error", $message); ``` -public **clear** () inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **clear** () inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Clears accumulated messages when implicit flush is disabled \ No newline at end of file diff --git a/cs/api/Phalcon_Forms_ElementInterface.md b/cs/api/Phalcon_Forms_ElementInterface.md index bde079440bdc..8108787311a9 100644 --- a/cs/api/Phalcon_Forms_ElementInterface.md +++ b/cs/api/Phalcon_Forms_ElementInterface.md @@ -4,7 +4,7 @@ ## Methods -abstract public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) +abstract public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) ... @@ -36,7 +36,7 @@ abstract public **addValidators** (*array* $validators, [*mixed* $merge]) ... -abstract public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) +abstract public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) ... @@ -112,11 +112,11 @@ abstract public **hasMessages** () ... -abstract public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) +abstract public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) ... -abstract public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) +abstract public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) ... diff --git a/cs/api/Phalcon_Forms_Element_Check.md b/cs/api/Phalcon_Forms_Element_Check.md index f7f53cada4b4..320a3d0b2bed 100644 --- a/cs/api/Phalcon_Forms_Element_Check.md +++ b/cs/api/Phalcon_Forms_Element_Check.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Forms\\Element\\Check** -*extends* abstract class [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +*extends* abstract class [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) -*implements* [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) +*implements* [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) Source on GitHub @@ -14,130 +14,130 @@ public **render** ([*array* $attributes]) Renders the element widget returning html -public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Phalcon\\Forms\\Element constructor -public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the parent form to the element -public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the parent form to the element -public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element name -public **getName** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getName** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element name -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element filters -public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a filter to current list of filters -public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element filters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a group of validators -public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a validator to the element -public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the validators registered for the element -public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns an array of prepared attributes for Phalcon\\Tag helpers according to the element parameters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default attribute for the element -public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an attribute if present -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets default attributes for the element -public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default attributes for the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets an option for the element -public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an option if present -public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets options for the element -public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the options for the element -public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element label -public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element label -public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Generate the HTML to label the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default value in case the form does not use an entity or there is no value available for the element in _POST -public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default value assigned to the element -public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element value -public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the messages that belongs to the element The element needs to be attached to a form -public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Checks whether there are messages attached to the element -public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the validation messages related to the element -public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Appends a message to the internal message list -public **clear** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **clear** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Clears every element in the form to its default value -public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Magic method __toString renders the widget without attributes \ No newline at end of file diff --git a/cs/api/Phalcon_Forms_Element_Date.md b/cs/api/Phalcon_Forms_Element_Date.md index 9bdd42965358..701a6b5ffe81 100644 --- a/cs/api/Phalcon_Forms_Element_Date.md +++ b/cs/api/Phalcon_Forms_Element_Date.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Forms\\Element\\Date** -*extends* abstract class [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +*extends* abstract class [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) -*implements* [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) +*implements* [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) Source on GitHub @@ -14,130 +14,130 @@ public **render** ([*array* $attributes]) Renders the element widget returning html -public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Phalcon\\Forms\\Element constructor -public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the parent form to the element -public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the parent form to the element -public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element name -public **getName** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getName** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element name -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element filters -public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a filter to current list of filters -public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element filters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a group of validators -public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a validator to the element -public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the validators registered for the element -public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns an array of prepared attributes for Phalcon\\Tag helpers according to the element parameters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default attribute for the element -public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an attribute if present -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets default attributes for the element -public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default attributes for the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets an option for the element -public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an option if present -public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets options for the element -public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the options for the element -public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element label -public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element label -public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Generate the HTML to label the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default value in case the form does not use an entity or there is no value available for the element in _POST -public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default value assigned to the element -public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element value -public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the messages that belongs to the element The element needs to be attached to a form -public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Checks whether there are messages attached to the element -public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the validation messages related to the element -public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Appends a message to the internal message list -public **clear** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **clear** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Clears every element in the form to its default value -public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Magic method __toString renders the widget without attributes \ No newline at end of file diff --git a/cs/api/Phalcon_Forms_Element_Email.md b/cs/api/Phalcon_Forms_Element_Email.md index 46e6c4dd0910..e732f646f360 100644 --- a/cs/api/Phalcon_Forms_Element_Email.md +++ b/cs/api/Phalcon_Forms_Element_Email.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Forms\\Element\\Email** -*extends* abstract class [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +*extends* abstract class [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) -*implements* [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) +*implements* [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) Source on GitHub @@ -14,130 +14,130 @@ public **render** ([*array* $attributes]) Renders the element widget returning html -public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Phalcon\\Forms\\Element constructor -public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the parent form to the element -public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the parent form to the element -public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element name -public **getName** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getName** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element name -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element filters -public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a filter to current list of filters -public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element filters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a group of validators -public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a validator to the element -public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the validators registered for the element -public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns an array of prepared attributes for Phalcon\\Tag helpers according to the element parameters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default attribute for the element -public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an attribute if present -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets default attributes for the element -public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default attributes for the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets an option for the element -public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an option if present -public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets options for the element -public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the options for the element -public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element label -public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element label -public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Generate the HTML to label the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default value in case the form does not use an entity or there is no value available for the element in _POST -public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default value assigned to the element -public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element value -public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the messages that belongs to the element The element needs to be attached to a form -public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Checks whether there are messages attached to the element -public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the validation messages related to the element -public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Appends a message to the internal message list -public **clear** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **clear** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Clears every element in the form to its default value -public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Magic method __toString renders the widget without attributes \ No newline at end of file diff --git a/cs/api/Phalcon_Forms_Element_File.md b/cs/api/Phalcon_Forms_Element_File.md index 04fceec03b0d..b81797926b6f 100644 --- a/cs/api/Phalcon_Forms_Element_File.md +++ b/cs/api/Phalcon_Forms_Element_File.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Forms\\Element\\File** -*extends* abstract class [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +*extends* abstract class [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) -*implements* [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) +*implements* [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) Source on GitHub @@ -14,130 +14,130 @@ public **render** ([*array* $attributes]) Renders the element widget returning html -public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Phalcon\\Forms\\Element constructor -public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the parent form to the element -public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the parent form to the element -public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element name -public **getName** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getName** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element name -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element filters -public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a filter to current list of filters -public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element filters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a group of validators -public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a validator to the element -public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the validators registered for the element -public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns an array of prepared attributes for Phalcon\\Tag helpers according to the element parameters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default attribute for the element -public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an attribute if present -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets default attributes for the element -public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default attributes for the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets an option for the element -public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an option if present -public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets options for the element -public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the options for the element -public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element label -public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element label -public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Generate the HTML to label the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default value in case the form does not use an entity or there is no value available for the element in _POST -public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default value assigned to the element -public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element value -public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the messages that belongs to the element The element needs to be attached to a form -public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Checks whether there are messages attached to the element -public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the validation messages related to the element -public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Appends a message to the internal message list -public **clear** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **clear** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Clears every element in the form to its default value -public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Magic method __toString renders the widget without attributes \ No newline at end of file diff --git a/cs/api/Phalcon_Forms_Element_Hidden.md b/cs/api/Phalcon_Forms_Element_Hidden.md index 317e3fe554b8..91457ea53c89 100644 --- a/cs/api/Phalcon_Forms_Element_Hidden.md +++ b/cs/api/Phalcon_Forms_Element_Hidden.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Forms\\Element\\Hidden** -*extends* abstract class [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +*extends* abstract class [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) -*implements* [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) +*implements* [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) Source on GitHub @@ -14,130 +14,130 @@ public **render** ([*array* $attributes]) Renders the element widget returning html -public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Phalcon\\Forms\\Element constructor -public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the parent form to the element -public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the parent form to the element -public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element name -public **getName** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getName** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element name -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element filters -public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a filter to current list of filters -public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element filters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a group of validators -public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a validator to the element -public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the validators registered for the element -public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns an array of prepared attributes for Phalcon\\Tag helpers according to the element parameters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default attribute for the element -public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an attribute if present -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets default attributes for the element -public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default attributes for the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets an option for the element -public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an option if present -public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets options for the element -public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the options for the element -public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element label -public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element label -public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Generate the HTML to label the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default value in case the form does not use an entity or there is no value available for the element in _POST -public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default value assigned to the element -public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element value -public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the messages that belongs to the element The element needs to be attached to a form -public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Checks whether there are messages attached to the element -public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the validation messages related to the element -public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Appends a message to the internal message list -public **clear** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **clear** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Clears every element in the form to its default value -public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Magic method __toString renders the widget without attributes \ No newline at end of file diff --git a/cs/api/Phalcon_Forms_Element_Numeric.md b/cs/api/Phalcon_Forms_Element_Numeric.md index 1b13ae0d294f..cd365f3c022b 100644 --- a/cs/api/Phalcon_Forms_Element_Numeric.md +++ b/cs/api/Phalcon_Forms_Element_Numeric.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Forms\\Element\\Numeric** -*extends* abstract class [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +*extends* abstract class [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) -*implements* [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) +*implements* [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) Source on GitHub @@ -14,130 +14,130 @@ public **render** ([*array* $attributes]) Renders the element widget returning html -public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Phalcon\\Forms\\Element constructor -public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the parent form to the element -public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the parent form to the element -public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element name -public **getName** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getName** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element name -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element filters -public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a filter to current list of filters -public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element filters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a group of validators -public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a validator to the element -public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the validators registered for the element -public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns an array of prepared attributes for Phalcon\\Tag helpers according to the element parameters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default attribute for the element -public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an attribute if present -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets default attributes for the element -public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default attributes for the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets an option for the element -public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an option if present -public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets options for the element -public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the options for the element -public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element label -public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element label -public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Generate the HTML to label the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default value in case the form does not use an entity or there is no value available for the element in _POST -public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default value assigned to the element -public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element value -public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the messages that belongs to the element The element needs to be attached to a form -public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Checks whether there are messages attached to the element -public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the validation messages related to the element -public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Appends a message to the internal message list -public **clear** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **clear** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Clears every element in the form to its default value -public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Magic method __toString renders the widget without attributes \ No newline at end of file diff --git a/de/api/Phalcon_Cli_Router_Route.md b/de/api/Phalcon_Cli_Router_Route.md index 73e76009acee..290d5404abd8 100644 --- a/de/api/Phalcon_Cli_Router_Route.md +++ b/de/api/Phalcon_Cli_Router_Route.md @@ -46,7 +46,7 @@ $router->add( ``` -public [Phalcon\Cli\Router\Route](/en/3.1.2/api/Phalcon_Cli_Router_Route) **beforeMatch** (*callback* $callback) +public [Phalcon\Cli\Router\Route](/en/3.2/api/Phalcon_Cli_Router_Route) **beforeMatch** (*callback* $callback) Sets a callback that is called if the route is matched. The developer can implement any arbitrary conditions here If the callback returns false the route is treated as not matched @@ -74,7 +74,7 @@ public **getReversedPaths** () Returns the paths using positions as keys and names as values -public [Phalcon\Cli\Router\Route](/en/3.1.2/api/Phalcon_Cli_Router_Route) **convert** (*string* $name, *callable* $converter) +public [Phalcon\Cli\Router\Route](/en/3.2/api/Phalcon_Cli_Router_Route) **convert** (*string* $name, *callable* $converter) Adds a converter to perform an additional transformation for certain parameter diff --git a/de/api/Phalcon_Cli_Task.md b/de/api/Phalcon_Cli_Task.md index 4090d0b7bf55..15624d08810c 100644 --- a/de/api/Phalcon_Cli_Task.md +++ b/de/api/Phalcon_Cli_Task.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cli\\Task** -*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), [Phalcon\Cli\TaskInterface](/en/3.1.2/api/Phalcon_Cli_TaskInterface) +*implements* [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\Cli\TaskInterface](/en/3.2/api/Phalcon_Cli_TaskInterface) Source on GitHub @@ -35,22 +35,22 @@ final public **__construct** () Phalcon\\Cli\\Task constructor -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 **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Sets the event manager -public **getEventsManager** () inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **getEventsManager** () inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Returns the internal event manager -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_Config.md b/de/api/Phalcon_Config.md index 55a3611a9d38..7b972faed1f5 100644 --- a/de/api/Phalcon_Config.md +++ b/de/api/Phalcon_Config.md @@ -28,6 +28,10 @@ $config = new \Phalcon\Config( ``` +## Constants + +*string* **DEFAULT_PATH_DELIMITER** + ## Methods public **__construct** ([*array* $arrayConfig]) @@ -47,6 +51,17 @@ var_dump( ``` +public **path** (*mixed* $path, [*mixed* $defaultValue], [*mixed* $delimiter]) + +Returns a value from current config using a dot separated path. + +```php +path("unknown.path", "default", "."); + +``` + public **get** (*mixed* $index, [*mixed* $defaultValue]) Gets an attribute from the configuration, if the attribute isn't defined returns null If the value is exactly null or is not defined the default value will be used instead @@ -95,7 +110,7 @@ unset($config["database"]); ``` -public **merge** ([Phalcon\Config](/en/3.1.2/api/Phalcon_Config) $config) +public **merge** ([Phalcon\Config](/en/3.2/api/Phalcon_Config) $config) Merges a configuration into the current one @@ -151,6 +166,14 @@ public static **__set_state** (*array* $data) Restores the state of a Phalcon\\Config object +public static **setPathDelimiter** ([*mixed* $delimiter]) + +Sets the default path delimiter + +public static **getPathDelimiter** () + +Gets the default path delimiter + final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) Helper method for merge configs (forwarding nested config instance) \ No newline at end of file diff --git a/de/api/Phalcon_Config_Adapter_Ini.md b/de/api/Phalcon_Config_Adapter_Ini.md index 8458550716fa..3576158bc75f 100644 --- a/de/api/Phalcon_Config_Adapter_Ini.md +++ b/de/api/Phalcon_Config_Adapter_Ini.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Config\\Adapter\\Ini** -*extends* class [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +*extends* class [Phalcon\Config](/en/3.2/api/Phalcon_Config) *implements* [Countable](http://php.net/manual/en/class.countable.php), [ArrayAccess](http://php.net/manual/en/class.arrayaccess.php) @@ -51,6 +51,10 @@ $config = new \Phalcon\Config\Adapter\Ini( ``` +## Constants + +*string* **DEFAULT_PATH_DELIMITER** + ## Methods public **__construct** (*mixed* $filePath, [*mixed* $mode]) @@ -81,7 +85,7 @@ protected **_cast** (*mixed* $ini) We have to cast values manually because parse_ini_file() has a poor implementation. -public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Allows to check whether an attribute is defined using the array-syntax @@ -94,7 +98,18 @@ var_dump( ``` -public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **path** (*mixed* $path, [*mixed* $defaultValue], [*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Returns a value from current config using a dot separated path. + +```php +path("unknown.path", "default", "."); + +``` + +public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute from the configuration, if the attribute isn't defined returns null If the value is exactly null or is not defined the default value will be used instead @@ -105,7 +120,7 @@ echo $config->get("controllersDir", "../app/controllers/"); ``` -public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute using the array-syntax @@ -118,7 +133,7 @@ print_r( ``` -public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Sets an attribute using the array-syntax @@ -131,7 +146,7 @@ $config["database"] = [ ``` -public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Unsets an attribute using the array-syntax @@ -142,7 +157,7 @@ unset($config["database"]); ``` -public **merge** ([Phalcon\Config](/en/3.1.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **merge** ([Phalcon\Config](/en/3.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Merges a configuration into the current one @@ -161,7 +176,7 @@ $globalConfig->merge($appConfig); ``` -public **toArray** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **toArray** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Converts recursively the object to an array @@ -174,7 +189,7 @@ print_r( ``` -public **count** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **count** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Returns the count of properties set in the config @@ -194,10 +209,18 @@ print $config->count(); ``` -public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Restores the state of a Phalcon\\Config object -final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **setPathDelimiter** ([*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Sets the default path delimiter + +public static **getPathDelimiter** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Gets the default path delimiter + +final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Helper method for merge configs (forwarding nested config instance) \ No newline at end of file diff --git a/de/api/Phalcon_Config_Adapter_Json.md b/de/api/Phalcon_Config_Adapter_Json.md index 37d4418b4241..860df550aee3 100644 --- a/de/api/Phalcon_Config_Adapter_Json.md +++ b/de/api/Phalcon_Config_Adapter_Json.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Config\\Adapter\\Json** -*extends* class [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +*extends* class [Phalcon\Config](/en/3.2/api/Phalcon_Config) *implements* [Countable](http://php.net/manual/en/class.countable.php), [ArrayAccess](http://php.net/manual/en/class.arrayaccess.php) @@ -29,13 +29,17 @@ echo $config->models->metadata; ``` +## Constants + +*string* **DEFAULT_PATH_DELIMITER** + ## Methods public **__construct** (*mixed* $filePath) Phalcon\\Config\\Adapter\\Json constructor -public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Allows to check whether an attribute is defined using the array-syntax @@ -48,7 +52,18 @@ var_dump( ``` -public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **path** (*mixed* $path, [*mixed* $defaultValue], [*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Returns a value from current config using a dot separated path. + +```php +path("unknown.path", "default", "."); + +``` + +public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute from the configuration, if the attribute isn't defined returns null If the value is exactly null or is not defined the default value will be used instead @@ -59,7 +74,7 @@ echo $config->get("controllersDir", "../app/controllers/"); ``` -public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute using the array-syntax @@ -72,7 +87,7 @@ print_r( ``` -public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Sets an attribute using the array-syntax @@ -85,7 +100,7 @@ $config["database"] = [ ``` -public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Unsets an attribute using the array-syntax @@ -96,7 +111,7 @@ unset($config["database"]); ``` -public **merge** ([Phalcon\Config](/en/3.1.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **merge** ([Phalcon\Config](/en/3.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Merges a configuration into the current one @@ -115,7 +130,7 @@ $globalConfig->merge($appConfig); ``` -public **toArray** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **toArray** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Converts recursively the object to an array @@ -128,7 +143,7 @@ print_r( ``` -public **count** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **count** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Returns the count of properties set in the config @@ -148,10 +163,18 @@ print $config->count(); ``` -public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Restores the state of a Phalcon\\Config object -final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **setPathDelimiter** ([*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Sets the default path delimiter + +public static **getPathDelimiter** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Gets the default path delimiter + +final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Helper method for merge configs (forwarding nested config instance) \ No newline at end of file diff --git a/de/api/Phalcon_Config_Adapter_Php.md b/de/api/Phalcon_Config_Adapter_Php.md index d2dbf0e51bc1..844d5a6cdd20 100644 --- a/de/api/Phalcon_Config_Adapter_Php.md +++ b/de/api/Phalcon_Config_Adapter_Php.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Config\\Adapter\\Php** -*extends* class [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +*extends* class [Phalcon\Config](/en/3.2/api/Phalcon_Config) *implements* [Countable](http://php.net/manual/en/class.countable.php), [ArrayAccess](http://php.net/manual/en/class.arrayaccess.php) @@ -44,13 +44,17 @@ echo $config->database->username; ``` +## Constants + +*string* **DEFAULT_PATH_DELIMITER** + ## Methods public **__construct** (*mixed* $filePath) Phalcon\\Config\\Adapter\\Php constructor -public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Allows to check whether an attribute is defined using the array-syntax @@ -63,7 +67,18 @@ var_dump( ``` -public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **path** (*mixed* $path, [*mixed* $defaultValue], [*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Returns a value from current config using a dot separated path. + +```php +path("unknown.path", "default", "."); + +``` + +public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute from the configuration, if the attribute isn't defined returns null If the value is exactly null or is not defined the default value will be used instead @@ -74,7 +89,7 @@ echo $config->get("controllersDir", "../app/controllers/"); ``` -public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute using the array-syntax @@ -87,7 +102,7 @@ print_r( ``` -public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Sets an attribute using the array-syntax @@ -100,7 +115,7 @@ $config["database"] = [ ``` -public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Unsets an attribute using the array-syntax @@ -111,7 +126,7 @@ unset($config["database"]); ``` -public **merge** ([Phalcon\Config](/en/3.1.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **merge** ([Phalcon\Config](/en/3.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Merges a configuration into the current one @@ -130,7 +145,7 @@ $globalConfig->merge($appConfig); ``` -public **toArray** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **toArray** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Converts recursively the object to an array @@ -143,7 +158,7 @@ print_r( ``` -public **count** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **count** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Returns the count of properties set in the config @@ -163,10 +178,18 @@ print $config->count(); ``` -public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Restores the state of a Phalcon\\Config object -final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **setPathDelimiter** ([*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Sets the default path delimiter + +public static **getPathDelimiter** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Gets the default path delimiter + +final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Helper method for merge configs (forwarding nested config instance) \ No newline at end of file diff --git a/de/api/Phalcon_Config_Adapter_Yaml.md b/de/api/Phalcon_Config_Adapter_Yaml.md index a63e7a518e4d..1955bc04918c 100644 --- a/de/api/Phalcon_Config_Adapter_Yaml.md +++ b/de/api/Phalcon_Config_Adapter_Yaml.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Config\\Adapter\\Yaml** -*extends* class [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +*extends* class [Phalcon\Config](/en/3.2/api/Phalcon_Config) *implements* [Countable](http://php.net/manual/en/class.countable.php), [ArrayAccess](http://php.net/manual/en/class.arrayaccess.php) @@ -46,13 +46,17 @@ echo $config->models->metadata; ``` +## Constants + +*string* **DEFAULT_PATH_DELIMITER** + ## Methods public **__construct** (*mixed* $filePath, [*array* $callbacks]) Phalcon\\Config\\Adapter\\Yaml constructor -public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Allows to check whether an attribute is defined using the array-syntax @@ -65,7 +69,18 @@ var_dump( ``` -public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **path** (*mixed* $path, [*mixed* $defaultValue], [*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Returns a value from current config using a dot separated path. + +```php +path("unknown.path", "default", "."); + +``` + +public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute from the configuration, if the attribute isn't defined returns null If the value is exactly null or is not defined the default value will be used instead @@ -76,7 +91,7 @@ echo $config->get("controllersDir", "../app/controllers/"); ``` -public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute using the array-syntax @@ -89,7 +104,7 @@ print_r( ``` -public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Sets an attribute using the array-syntax @@ -102,7 +117,7 @@ $config["database"] = [ ``` -public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Unsets an attribute using the array-syntax @@ -113,7 +128,7 @@ unset($config["database"]); ``` -public **merge** ([Phalcon\Config](/en/3.1.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **merge** ([Phalcon\Config](/en/3.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Merges a configuration into the current one @@ -132,7 +147,7 @@ $globalConfig->merge($appConfig); ``` -public **toArray** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **toArray** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Converts recursively the object to an array @@ -145,7 +160,7 @@ print_r( ``` -public **count** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **count** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Returns the count of properties set in the config @@ -165,10 +180,18 @@ print $config->count(); ``` -public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Restores the state of a Phalcon\\Config object -final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **setPathDelimiter** ([*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Sets the default path delimiter + +public static **getPathDelimiter** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Gets the default path delimiter + +final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Helper method for merge configs (forwarding nested config instance) \ No newline at end of file diff --git a/de/api/Phalcon_Config_Exception.md b/de/api/Phalcon_Config_Exception.md index fe180ca140c2..870c720975df 100644 --- a/de/api/Phalcon_Config_Exception.md +++ b/de/api/Phalcon_Config_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Config\\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_Crypt.md b/de/api/Phalcon_Crypt.md index 02729550912f..348e1401a9a0 100644 --- a/de/api/Phalcon_Crypt.md +++ b/de/api/Phalcon_Crypt.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Crypt** -*implements* [Phalcon\CryptInterface](/en/3.1.2/api/Phalcon_CryptInterface) +*implements* [Phalcon\CryptInterface](/en/3.2/api/Phalcon_CryptInterface) Source on GitHub diff --git a/de/api/Phalcon_Crypt_Exception.md b/de/api/Phalcon_Crypt_Exception.md index 677b1db3e78e..ea2a2af5ed7e 100644 --- a/de/api/Phalcon_Crypt_Exception.md +++ b/de/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/de/api/Phalcon_Flash.md b/de/api/Phalcon_Flash.md index 46db08bba6b6..fab60ddca1fb 100644 --- a/de/api/Phalcon_Flash.md +++ b/de/api/Phalcon_Flash.md @@ -1,6 +1,6 @@ # Abstract class **Phalcon\\Flash** -*implements* [Phalcon\FlashInterface](/en/3.1.2/api/Phalcon_FlashInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.1.2/api/Phalcon_Di_InjectionAwareInterface) +*implements* [Phalcon\FlashInterface](/en/3.2/api/Phalcon_FlashInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface) Source on GitHub @@ -32,11 +32,11 @@ public **getEscaperService** () Returns the Escaper Service -public **setEscaperService** ([Phalcon\EscaperInterface](/en/3.1.2/api/Phalcon_EscaperInterface) $escaperService) +public **setEscaperService** ([Phalcon\EscaperInterface](/en/3.2/api/Phalcon_EscaperInterface) $escaperService) Sets the Escaper Service -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 @@ -115,6 +115,6 @@ public **clear** () Clears accumulated messages when implicit flush is disabled -abstract public **message** (*mixed* $type, *mixed* $message) inherited from [Phalcon\FlashInterface](/en/3.1.2/api/Phalcon_FlashInterface) +abstract public **message** (*mixed* $type, *mixed* $message) inherited from [Phalcon\FlashInterface](/en/3.2/api/Phalcon_FlashInterface) ... \ No newline at end of file diff --git a/de/api/Phalcon_Flash_Direct.md b/de/api/Phalcon_Flash_Direct.md index 5563e108b68e..9b8045cf2a4e 100644 --- a/de/api/Phalcon_Flash_Direct.md +++ b/de/api/Phalcon_Flash_Direct.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Flash\\Direct** -*extends* abstract class [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +*extends* abstract class [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) -*implements* [Phalcon\Di\InjectionAwareInterface](/en/3.1.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\FlashInterface](/en/3.1.2/api/Phalcon_FlashInterface) +*implements* [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\FlashInterface](/en/3.2/api/Phalcon_FlashInterface) Source on GitHub @@ -18,47 +18,47 @@ public **output** ([*mixed* $remove]) Prints the messages accumulated in the flasher -public **__construct** ([*mixed* $cssClasses]) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **__construct** ([*mixed* $cssClasses]) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Phalcon\\Flash constructor -public **getAutoescape** () inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **getAutoescape** () inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Returns the autoescape mode in generated html -public **setAutoescape** (*mixed* $autoescape) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **setAutoescape** (*mixed* $autoescape) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Set the autoescape mode in generated html -public **getEscaperService** () inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **getEscaperService** () inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Returns the Escaper Service -public **setEscaperService** ([Phalcon\EscaperInterface](/en/3.1.2/api/Phalcon_EscaperInterface) $escaperService) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **setEscaperService** ([Phalcon\EscaperInterface](/en/3.2/api/Phalcon_EscaperInterface) $escaperService) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Sets the Escaper Service -public **setDI** ([Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **setDI** ([Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Sets the dependency injector -public **getDI** () inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **getDI** () inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Returns the internal dependency injector -public **setImplicitFlush** (*mixed* $implicitFlush) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **setImplicitFlush** (*mixed* $implicitFlush) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Set whether the output must be implicitly flushed to the output or returned as string -public **setAutomaticHtml** (*mixed* $automaticHtml) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **setAutomaticHtml** (*mixed* $automaticHtml) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Set if the output must be implicitly formatted with HTML -public **setCssClasses** (*array* $cssClasses) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **setCssClasses** (*array* $cssClasses) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Set an array with CSS classes to format the messages -public **error** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **error** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Shows a HTML error message @@ -69,7 +69,7 @@ $flash->error("This is an error"); ``` -public **notice** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **notice** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Shows a HTML notice/information message @@ -80,7 +80,7 @@ $flash->notice("This is an information"); ``` -public **success** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **success** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Shows a HTML success message @@ -91,7 +91,7 @@ $flash->success("The process was finished successfully"); ``` -public **warning** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **warning** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Shows a HTML warning message @@ -102,7 +102,7 @@ $flash->warning("Hey, this is important"); ``` -public *string* | *void* **outputMessage** (*mixed* $type, *string* | *array* $message) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public *string* | *void* **outputMessage** (*mixed* $type, *string* | *array* $message) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Outputs a message formatting it with HTML @@ -113,6 +113,6 @@ $flash->outputMessage("error", $message); ``` -public **clear** () inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **clear** () inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Clears accumulated messages when implicit flush is disabled \ No newline at end of file diff --git a/de/api/Phalcon_Forms_ElementInterface.md b/de/api/Phalcon_Forms_ElementInterface.md index bde079440bdc..8108787311a9 100644 --- a/de/api/Phalcon_Forms_ElementInterface.md +++ b/de/api/Phalcon_Forms_ElementInterface.md @@ -4,7 +4,7 @@ ## Methods -abstract public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) +abstract public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) ... @@ -36,7 +36,7 @@ abstract public **addValidators** (*array* $validators, [*mixed* $merge]) ... -abstract public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) +abstract public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) ... @@ -112,11 +112,11 @@ abstract public **hasMessages** () ... -abstract public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) +abstract public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) ... -abstract public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) +abstract public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) ... diff --git a/de/api/Phalcon_Forms_Element_Check.md b/de/api/Phalcon_Forms_Element_Check.md index f7f53cada4b4..320a3d0b2bed 100644 --- a/de/api/Phalcon_Forms_Element_Check.md +++ b/de/api/Phalcon_Forms_Element_Check.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Forms\\Element\\Check** -*extends* abstract class [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +*extends* abstract class [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) -*implements* [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) +*implements* [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) Source on GitHub @@ -14,130 +14,130 @@ public **render** ([*array* $attributes]) Renders the element widget returning html -public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Phalcon\\Forms\\Element constructor -public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the parent form to the element -public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the parent form to the element -public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element name -public **getName** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getName** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element name -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element filters -public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a filter to current list of filters -public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element filters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a group of validators -public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a validator to the element -public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the validators registered for the element -public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns an array of prepared attributes for Phalcon\\Tag helpers according to the element parameters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default attribute for the element -public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an attribute if present -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets default attributes for the element -public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default attributes for the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets an option for the element -public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an option if present -public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets options for the element -public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the options for the element -public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element label -public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element label -public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Generate the HTML to label the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default value in case the form does not use an entity or there is no value available for the element in _POST -public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default value assigned to the element -public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element value -public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the messages that belongs to the element The element needs to be attached to a form -public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Checks whether there are messages attached to the element -public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the validation messages related to the element -public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Appends a message to the internal message list -public **clear** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **clear** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Clears every element in the form to its default value -public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Magic method __toString renders the widget without attributes \ No newline at end of file diff --git a/de/api/Phalcon_Forms_Element_Date.md b/de/api/Phalcon_Forms_Element_Date.md index 9bdd42965358..701a6b5ffe81 100644 --- a/de/api/Phalcon_Forms_Element_Date.md +++ b/de/api/Phalcon_Forms_Element_Date.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Forms\\Element\\Date** -*extends* abstract class [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +*extends* abstract class [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) -*implements* [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) +*implements* [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) Source on GitHub @@ -14,130 +14,130 @@ public **render** ([*array* $attributes]) Renders the element widget returning html -public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Phalcon\\Forms\\Element constructor -public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the parent form to the element -public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the parent form to the element -public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element name -public **getName** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getName** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element name -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element filters -public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a filter to current list of filters -public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element filters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a group of validators -public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a validator to the element -public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the validators registered for the element -public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns an array of prepared attributes for Phalcon\\Tag helpers according to the element parameters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default attribute for the element -public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an attribute if present -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets default attributes for the element -public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default attributes for the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets an option for the element -public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an option if present -public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets options for the element -public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the options for the element -public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element label -public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element label -public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Generate the HTML to label the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default value in case the form does not use an entity or there is no value available for the element in _POST -public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default value assigned to the element -public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element value -public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the messages that belongs to the element The element needs to be attached to a form -public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Checks whether there are messages attached to the element -public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the validation messages related to the element -public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Appends a message to the internal message list -public **clear** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **clear** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Clears every element in the form to its default value -public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Magic method __toString renders the widget without attributes \ No newline at end of file diff --git a/de/api/Phalcon_Forms_Element_Email.md b/de/api/Phalcon_Forms_Element_Email.md index 46e6c4dd0910..e732f646f360 100644 --- a/de/api/Phalcon_Forms_Element_Email.md +++ b/de/api/Phalcon_Forms_Element_Email.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Forms\\Element\\Email** -*extends* abstract class [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +*extends* abstract class [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) -*implements* [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) +*implements* [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) Source on GitHub @@ -14,130 +14,130 @@ public **render** ([*array* $attributes]) Renders the element widget returning html -public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Phalcon\\Forms\\Element constructor -public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the parent form to the element -public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the parent form to the element -public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element name -public **getName** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getName** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element name -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element filters -public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a filter to current list of filters -public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element filters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a group of validators -public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a validator to the element -public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the validators registered for the element -public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns an array of prepared attributes for Phalcon\\Tag helpers according to the element parameters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default attribute for the element -public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an attribute if present -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets default attributes for the element -public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default attributes for the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets an option for the element -public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an option if present -public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets options for the element -public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the options for the element -public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element label -public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element label -public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Generate the HTML to label the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default value in case the form does not use an entity or there is no value available for the element in _POST -public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default value assigned to the element -public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element value -public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the messages that belongs to the element The element needs to be attached to a form -public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Checks whether there are messages attached to the element -public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the validation messages related to the element -public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Appends a message to the internal message list -public **clear** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **clear** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Clears every element in the form to its default value -public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Magic method __toString renders the widget without attributes \ No newline at end of file diff --git a/de/api/Phalcon_Forms_Element_File.md b/de/api/Phalcon_Forms_Element_File.md index 04fceec03b0d..b81797926b6f 100644 --- a/de/api/Phalcon_Forms_Element_File.md +++ b/de/api/Phalcon_Forms_Element_File.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Forms\\Element\\File** -*extends* abstract class [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +*extends* abstract class [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) -*implements* [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) +*implements* [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) Source on GitHub @@ -14,130 +14,130 @@ public **render** ([*array* $attributes]) Renders the element widget returning html -public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Phalcon\\Forms\\Element constructor -public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the parent form to the element -public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the parent form to the element -public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element name -public **getName** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getName** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element name -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element filters -public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a filter to current list of filters -public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element filters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a group of validators -public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a validator to the element -public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the validators registered for the element -public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns an array of prepared attributes for Phalcon\\Tag helpers according to the element parameters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default attribute for the element -public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an attribute if present -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets default attributes for the element -public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default attributes for the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets an option for the element -public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an option if present -public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets options for the element -public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the options for the element -public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element label -public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element label -public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Generate the HTML to label the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default value in case the form does not use an entity or there is no value available for the element in _POST -public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default value assigned to the element -public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element value -public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the messages that belongs to the element The element needs to be attached to a form -public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Checks whether there are messages attached to the element -public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the validation messages related to the element -public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Appends a message to the internal message list -public **clear** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **clear** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Clears every element in the form to its default value -public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Magic method __toString renders the widget without attributes \ No newline at end of file diff --git a/de/api/Phalcon_Forms_Element_Hidden.md b/de/api/Phalcon_Forms_Element_Hidden.md index 317e3fe554b8..91457ea53c89 100644 --- a/de/api/Phalcon_Forms_Element_Hidden.md +++ b/de/api/Phalcon_Forms_Element_Hidden.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Forms\\Element\\Hidden** -*extends* abstract class [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +*extends* abstract class [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) -*implements* [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) +*implements* [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) Source on GitHub @@ -14,130 +14,130 @@ public **render** ([*array* $attributes]) Renders the element widget returning html -public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Phalcon\\Forms\\Element constructor -public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the parent form to the element -public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the parent form to the element -public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element name -public **getName** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getName** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element name -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element filters -public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a filter to current list of filters -public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element filters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a group of validators -public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a validator to the element -public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the validators registered for the element -public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns an array of prepared attributes for Phalcon\\Tag helpers according to the element parameters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default attribute for the element -public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an attribute if present -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets default attributes for the element -public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default attributes for the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets an option for the element -public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an option if present -public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets options for the element -public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the options for the element -public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element label -public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element label -public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Generate the HTML to label the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default value in case the form does not use an entity or there is no value available for the element in _POST -public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default value assigned to the element -public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element value -public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the messages that belongs to the element The element needs to be attached to a form -public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Checks whether there are messages attached to the element -public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the validation messages related to the element -public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Appends a message to the internal message list -public **clear** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **clear** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Clears every element in the form to its default value -public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Magic method __toString renders the widget without attributes \ No newline at end of file diff --git a/de/api/Phalcon_Forms_Element_Numeric.md b/de/api/Phalcon_Forms_Element_Numeric.md index 1b13ae0d294f..cd365f3c022b 100644 --- a/de/api/Phalcon_Forms_Element_Numeric.md +++ b/de/api/Phalcon_Forms_Element_Numeric.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Forms\\Element\\Numeric** -*extends* abstract class [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +*extends* abstract class [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) -*implements* [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) +*implements* [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) Source on GitHub @@ -14,130 +14,130 @@ public **render** ([*array* $attributes]) Renders the element widget returning html -public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Phalcon\\Forms\\Element constructor -public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the parent form to the element -public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the parent form to the element -public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element name -public **getName** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getName** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element name -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element filters -public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a filter to current list of filters -public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element filters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a group of validators -public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a validator to the element -public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the validators registered for the element -public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns an array of prepared attributes for Phalcon\\Tag helpers according to the element parameters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default attribute for the element -public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an attribute if present -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets default attributes for the element -public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default attributes for the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets an option for the element -public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an option if present -public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets options for the element -public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the options for the element -public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element label -public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element label -public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Generate the HTML to label the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default value in case the form does not use an entity or there is no value available for the element in _POST -public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default value assigned to the element -public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element value -public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the messages that belongs to the element The element needs to be attached to a form -public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Checks whether there are messages attached to the element -public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the validation messages related to the element -public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Appends a message to the internal message list -public **clear** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **clear** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Clears every element in the form to its default value -public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Magic method __toString renders the widget without attributes \ No newline at end of file diff --git a/el/api/Phalcon_Cli_Router_Route.md b/el/api/Phalcon_Cli_Router_Route.md index 73e76009acee..290d5404abd8 100644 --- a/el/api/Phalcon_Cli_Router_Route.md +++ b/el/api/Phalcon_Cli_Router_Route.md @@ -46,7 +46,7 @@ $router->add( ``` -public [Phalcon\Cli\Router\Route](/en/3.1.2/api/Phalcon_Cli_Router_Route) **beforeMatch** (*callback* $callback) +public [Phalcon\Cli\Router\Route](/en/3.2/api/Phalcon_Cli_Router_Route) **beforeMatch** (*callback* $callback) Sets a callback that is called if the route is matched. The developer can implement any arbitrary conditions here If the callback returns false the route is treated as not matched @@ -74,7 +74,7 @@ public **getReversedPaths** () Returns the paths using positions as keys and names as values -public [Phalcon\Cli\Router\Route](/en/3.1.2/api/Phalcon_Cli_Router_Route) **convert** (*string* $name, *callable* $converter) +public [Phalcon\Cli\Router\Route](/en/3.2/api/Phalcon_Cli_Router_Route) **convert** (*string* $name, *callable* $converter) Adds a converter to perform an additional transformation for certain parameter diff --git a/el/api/Phalcon_Cli_Task.md b/el/api/Phalcon_Cli_Task.md index 4090d0b7bf55..15624d08810c 100644 --- a/el/api/Phalcon_Cli_Task.md +++ b/el/api/Phalcon_Cli_Task.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cli\\Task** -*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), [Phalcon\Cli\TaskInterface](/en/3.1.2/api/Phalcon_Cli_TaskInterface) +*implements* [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\Cli\TaskInterface](/en/3.2/api/Phalcon_Cli_TaskInterface) Source on GitHub @@ -35,22 +35,22 @@ final public **__construct** () Phalcon\\Cli\\Task constructor -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 **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Sets the event manager -public **getEventsManager** () inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **getEventsManager** () inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Returns the internal event manager -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_Config.md b/el/api/Phalcon_Config.md index 55a3611a9d38..7b972faed1f5 100644 --- a/el/api/Phalcon_Config.md +++ b/el/api/Phalcon_Config.md @@ -28,6 +28,10 @@ $config = new \Phalcon\Config( ``` +## Constants + +*string* **DEFAULT_PATH_DELIMITER** + ## Methods public **__construct** ([*array* $arrayConfig]) @@ -47,6 +51,17 @@ var_dump( ``` +public **path** (*mixed* $path, [*mixed* $defaultValue], [*mixed* $delimiter]) + +Returns a value from current config using a dot separated path. + +```php +path("unknown.path", "default", "."); + +``` + public **get** (*mixed* $index, [*mixed* $defaultValue]) Gets an attribute from the configuration, if the attribute isn't defined returns null If the value is exactly null or is not defined the default value will be used instead @@ -95,7 +110,7 @@ unset($config["database"]); ``` -public **merge** ([Phalcon\Config](/en/3.1.2/api/Phalcon_Config) $config) +public **merge** ([Phalcon\Config](/en/3.2/api/Phalcon_Config) $config) Merges a configuration into the current one @@ -151,6 +166,14 @@ public static **__set_state** (*array* $data) Restores the state of a Phalcon\\Config object +public static **setPathDelimiter** ([*mixed* $delimiter]) + +Sets the default path delimiter + +public static **getPathDelimiter** () + +Gets the default path delimiter + final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) Helper method for merge configs (forwarding nested config instance) \ No newline at end of file diff --git a/el/api/Phalcon_Config_Adapter_Ini.md b/el/api/Phalcon_Config_Adapter_Ini.md index 8458550716fa..3576158bc75f 100644 --- a/el/api/Phalcon_Config_Adapter_Ini.md +++ b/el/api/Phalcon_Config_Adapter_Ini.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Config\\Adapter\\Ini** -*extends* class [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +*extends* class [Phalcon\Config](/en/3.2/api/Phalcon_Config) *implements* [Countable](http://php.net/manual/en/class.countable.php), [ArrayAccess](http://php.net/manual/en/class.arrayaccess.php) @@ -51,6 +51,10 @@ $config = new \Phalcon\Config\Adapter\Ini( ``` +## Constants + +*string* **DEFAULT_PATH_DELIMITER** + ## Methods public **__construct** (*mixed* $filePath, [*mixed* $mode]) @@ -81,7 +85,7 @@ protected **_cast** (*mixed* $ini) We have to cast values manually because parse_ini_file() has a poor implementation. -public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Allows to check whether an attribute is defined using the array-syntax @@ -94,7 +98,18 @@ var_dump( ``` -public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **path** (*mixed* $path, [*mixed* $defaultValue], [*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Returns a value from current config using a dot separated path. + +```php +path("unknown.path", "default", "."); + +``` + +public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute from the configuration, if the attribute isn't defined returns null If the value is exactly null or is not defined the default value will be used instead @@ -105,7 +120,7 @@ echo $config->get("controllersDir", "../app/controllers/"); ``` -public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute using the array-syntax @@ -118,7 +133,7 @@ print_r( ``` -public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Sets an attribute using the array-syntax @@ -131,7 +146,7 @@ $config["database"] = [ ``` -public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Unsets an attribute using the array-syntax @@ -142,7 +157,7 @@ unset($config["database"]); ``` -public **merge** ([Phalcon\Config](/en/3.1.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **merge** ([Phalcon\Config](/en/3.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Merges a configuration into the current one @@ -161,7 +176,7 @@ $globalConfig->merge($appConfig); ``` -public **toArray** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **toArray** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Converts recursively the object to an array @@ -174,7 +189,7 @@ print_r( ``` -public **count** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **count** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Returns the count of properties set in the config @@ -194,10 +209,18 @@ print $config->count(); ``` -public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Restores the state of a Phalcon\\Config object -final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **setPathDelimiter** ([*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Sets the default path delimiter + +public static **getPathDelimiter** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Gets the default path delimiter + +final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Helper method for merge configs (forwarding nested config instance) \ No newline at end of file diff --git a/el/api/Phalcon_Config_Adapter_Json.md b/el/api/Phalcon_Config_Adapter_Json.md index 37d4418b4241..860df550aee3 100644 --- a/el/api/Phalcon_Config_Adapter_Json.md +++ b/el/api/Phalcon_Config_Adapter_Json.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Config\\Adapter\\Json** -*extends* class [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +*extends* class [Phalcon\Config](/en/3.2/api/Phalcon_Config) *implements* [Countable](http://php.net/manual/en/class.countable.php), [ArrayAccess](http://php.net/manual/en/class.arrayaccess.php) @@ -29,13 +29,17 @@ echo $config->models->metadata; ``` +## Constants + +*string* **DEFAULT_PATH_DELIMITER** + ## Methods public **__construct** (*mixed* $filePath) Phalcon\\Config\\Adapter\\Json constructor -public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Allows to check whether an attribute is defined using the array-syntax @@ -48,7 +52,18 @@ var_dump( ``` -public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **path** (*mixed* $path, [*mixed* $defaultValue], [*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Returns a value from current config using a dot separated path. + +```php +path("unknown.path", "default", "."); + +``` + +public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute from the configuration, if the attribute isn't defined returns null If the value is exactly null or is not defined the default value will be used instead @@ -59,7 +74,7 @@ echo $config->get("controllersDir", "../app/controllers/"); ``` -public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute using the array-syntax @@ -72,7 +87,7 @@ print_r( ``` -public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Sets an attribute using the array-syntax @@ -85,7 +100,7 @@ $config["database"] = [ ``` -public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Unsets an attribute using the array-syntax @@ -96,7 +111,7 @@ unset($config["database"]); ``` -public **merge** ([Phalcon\Config](/en/3.1.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **merge** ([Phalcon\Config](/en/3.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Merges a configuration into the current one @@ -115,7 +130,7 @@ $globalConfig->merge($appConfig); ``` -public **toArray** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **toArray** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Converts recursively the object to an array @@ -128,7 +143,7 @@ print_r( ``` -public **count** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **count** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Returns the count of properties set in the config @@ -148,10 +163,18 @@ print $config->count(); ``` -public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Restores the state of a Phalcon\\Config object -final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **setPathDelimiter** ([*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Sets the default path delimiter + +public static **getPathDelimiter** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Gets the default path delimiter + +final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Helper method for merge configs (forwarding nested config instance) \ No newline at end of file diff --git a/el/api/Phalcon_Config_Adapter_Php.md b/el/api/Phalcon_Config_Adapter_Php.md index d2dbf0e51bc1..844d5a6cdd20 100644 --- a/el/api/Phalcon_Config_Adapter_Php.md +++ b/el/api/Phalcon_Config_Adapter_Php.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Config\\Adapter\\Php** -*extends* class [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +*extends* class [Phalcon\Config](/en/3.2/api/Phalcon_Config) *implements* [Countable](http://php.net/manual/en/class.countable.php), [ArrayAccess](http://php.net/manual/en/class.arrayaccess.php) @@ -44,13 +44,17 @@ echo $config->database->username; ``` +## Constants + +*string* **DEFAULT_PATH_DELIMITER** + ## Methods public **__construct** (*mixed* $filePath) Phalcon\\Config\\Adapter\\Php constructor -public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Allows to check whether an attribute is defined using the array-syntax @@ -63,7 +67,18 @@ var_dump( ``` -public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **path** (*mixed* $path, [*mixed* $defaultValue], [*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Returns a value from current config using a dot separated path. + +```php +path("unknown.path", "default", "."); + +``` + +public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute from the configuration, if the attribute isn't defined returns null If the value is exactly null or is not defined the default value will be used instead @@ -74,7 +89,7 @@ echo $config->get("controllersDir", "../app/controllers/"); ``` -public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute using the array-syntax @@ -87,7 +102,7 @@ print_r( ``` -public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Sets an attribute using the array-syntax @@ -100,7 +115,7 @@ $config["database"] = [ ``` -public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Unsets an attribute using the array-syntax @@ -111,7 +126,7 @@ unset($config["database"]); ``` -public **merge** ([Phalcon\Config](/en/3.1.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **merge** ([Phalcon\Config](/en/3.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Merges a configuration into the current one @@ -130,7 +145,7 @@ $globalConfig->merge($appConfig); ``` -public **toArray** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **toArray** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Converts recursively the object to an array @@ -143,7 +158,7 @@ print_r( ``` -public **count** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **count** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Returns the count of properties set in the config @@ -163,10 +178,18 @@ print $config->count(); ``` -public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Restores the state of a Phalcon\\Config object -final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **setPathDelimiter** ([*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Sets the default path delimiter + +public static **getPathDelimiter** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Gets the default path delimiter + +final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Helper method for merge configs (forwarding nested config instance) \ No newline at end of file diff --git a/el/api/Phalcon_Config_Adapter_Yaml.md b/el/api/Phalcon_Config_Adapter_Yaml.md index a63e7a518e4d..1955bc04918c 100644 --- a/el/api/Phalcon_Config_Adapter_Yaml.md +++ b/el/api/Phalcon_Config_Adapter_Yaml.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Config\\Adapter\\Yaml** -*extends* class [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +*extends* class [Phalcon\Config](/en/3.2/api/Phalcon_Config) *implements* [Countable](http://php.net/manual/en/class.countable.php), [ArrayAccess](http://php.net/manual/en/class.arrayaccess.php) @@ -46,13 +46,17 @@ echo $config->models->metadata; ``` +## Constants + +*string* **DEFAULT_PATH_DELIMITER** + ## Methods public **__construct** (*mixed* $filePath, [*array* $callbacks]) Phalcon\\Config\\Adapter\\Yaml constructor -public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Allows to check whether an attribute is defined using the array-syntax @@ -65,7 +69,18 @@ var_dump( ``` -public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **path** (*mixed* $path, [*mixed* $defaultValue], [*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Returns a value from current config using a dot separated path. + +```php +path("unknown.path", "default", "."); + +``` + +public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute from the configuration, if the attribute isn't defined returns null If the value is exactly null or is not defined the default value will be used instead @@ -76,7 +91,7 @@ echo $config->get("controllersDir", "../app/controllers/"); ``` -public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute using the array-syntax @@ -89,7 +104,7 @@ print_r( ``` -public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Sets an attribute using the array-syntax @@ -102,7 +117,7 @@ $config["database"] = [ ``` -public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Unsets an attribute using the array-syntax @@ -113,7 +128,7 @@ unset($config["database"]); ``` -public **merge** ([Phalcon\Config](/en/3.1.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **merge** ([Phalcon\Config](/en/3.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Merges a configuration into the current one @@ -132,7 +147,7 @@ $globalConfig->merge($appConfig); ``` -public **toArray** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **toArray** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Converts recursively the object to an array @@ -145,7 +160,7 @@ print_r( ``` -public **count** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **count** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Returns the count of properties set in the config @@ -165,10 +180,18 @@ print $config->count(); ``` -public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Restores the state of a Phalcon\\Config object -final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **setPathDelimiter** ([*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Sets the default path delimiter + +public static **getPathDelimiter** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Gets the default path delimiter + +final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Helper method for merge configs (forwarding nested config instance) \ No newline at end of file diff --git a/el/api/Phalcon_Config_Exception.md b/el/api/Phalcon_Config_Exception.md index fe180ca140c2..870c720975df 100644 --- a/el/api/Phalcon_Config_Exception.md +++ b/el/api/Phalcon_Config_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Config\\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_Crypt.md b/el/api/Phalcon_Crypt.md index 02729550912f..348e1401a9a0 100644 --- a/el/api/Phalcon_Crypt.md +++ b/el/api/Phalcon_Crypt.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Crypt** -*implements* [Phalcon\CryptInterface](/en/3.1.2/api/Phalcon_CryptInterface) +*implements* [Phalcon\CryptInterface](/en/3.2/api/Phalcon_CryptInterface) Source on GitHub diff --git a/el/api/Phalcon_Crypt_Exception.md b/el/api/Phalcon_Crypt_Exception.md index 677b1db3e78e..ea2a2af5ed7e 100644 --- a/el/api/Phalcon_Crypt_Exception.md +++ b/el/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/el/api/Phalcon_Flash_Direct.md b/el/api/Phalcon_Flash_Direct.md index 5563e108b68e..9b8045cf2a4e 100644 --- a/el/api/Phalcon_Flash_Direct.md +++ b/el/api/Phalcon_Flash_Direct.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Flash\\Direct** -*extends* abstract class [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +*extends* abstract class [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) -*implements* [Phalcon\Di\InjectionAwareInterface](/en/3.1.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\FlashInterface](/en/3.1.2/api/Phalcon_FlashInterface) +*implements* [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\FlashInterface](/en/3.2/api/Phalcon_FlashInterface) Source on GitHub @@ -18,47 +18,47 @@ public **output** ([*mixed* $remove]) Prints the messages accumulated in the flasher -public **__construct** ([*mixed* $cssClasses]) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **__construct** ([*mixed* $cssClasses]) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Phalcon\\Flash constructor -public **getAutoescape** () inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **getAutoescape** () inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Returns the autoescape mode in generated html -public **setAutoescape** (*mixed* $autoescape) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **setAutoescape** (*mixed* $autoescape) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Set the autoescape mode in generated html -public **getEscaperService** () inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **getEscaperService** () inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Returns the Escaper Service -public **setEscaperService** ([Phalcon\EscaperInterface](/en/3.1.2/api/Phalcon_EscaperInterface) $escaperService) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **setEscaperService** ([Phalcon\EscaperInterface](/en/3.2/api/Phalcon_EscaperInterface) $escaperService) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Sets the Escaper Service -public **setDI** ([Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **setDI** ([Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Sets the dependency injector -public **getDI** () inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **getDI** () inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Returns the internal dependency injector -public **setImplicitFlush** (*mixed* $implicitFlush) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **setImplicitFlush** (*mixed* $implicitFlush) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Set whether the output must be implicitly flushed to the output or returned as string -public **setAutomaticHtml** (*mixed* $automaticHtml) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **setAutomaticHtml** (*mixed* $automaticHtml) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Set if the output must be implicitly formatted with HTML -public **setCssClasses** (*array* $cssClasses) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **setCssClasses** (*array* $cssClasses) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Set an array with CSS classes to format the messages -public **error** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **error** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Shows a HTML error message @@ -69,7 +69,7 @@ $flash->error("This is an error"); ``` -public **notice** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **notice** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Shows a HTML notice/information message @@ -80,7 +80,7 @@ $flash->notice("This is an information"); ``` -public **success** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **success** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Shows a HTML success message @@ -91,7 +91,7 @@ $flash->success("The process was finished successfully"); ``` -public **warning** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **warning** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Shows a HTML warning message @@ -102,7 +102,7 @@ $flash->warning("Hey, this is important"); ``` -public *string* | *void* **outputMessage** (*mixed* $type, *string* | *array* $message) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public *string* | *void* **outputMessage** (*mixed* $type, *string* | *array* $message) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Outputs a message formatting it with HTML @@ -113,6 +113,6 @@ $flash->outputMessage("error", $message); ``` -public **clear** () inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **clear** () inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Clears accumulated messages when implicit flush is disabled \ No newline at end of file diff --git a/el/api/Phalcon_Forms_ElementInterface.md b/el/api/Phalcon_Forms_ElementInterface.md index bde079440bdc..8108787311a9 100644 --- a/el/api/Phalcon_Forms_ElementInterface.md +++ b/el/api/Phalcon_Forms_ElementInterface.md @@ -4,7 +4,7 @@ ## Methods -abstract public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) +abstract public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) ... @@ -36,7 +36,7 @@ abstract public **addValidators** (*array* $validators, [*mixed* $merge]) ... -abstract public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) +abstract public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) ... @@ -112,11 +112,11 @@ abstract public **hasMessages** () ... -abstract public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) +abstract public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) ... -abstract public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) +abstract public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) ... diff --git a/el/api/Phalcon_Forms_Element_Check.md b/el/api/Phalcon_Forms_Element_Check.md index f7f53cada4b4..320a3d0b2bed 100644 --- a/el/api/Phalcon_Forms_Element_Check.md +++ b/el/api/Phalcon_Forms_Element_Check.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Forms\\Element\\Check** -*extends* abstract class [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +*extends* abstract class [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) -*implements* [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) +*implements* [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) Source on GitHub @@ -14,130 +14,130 @@ public **render** ([*array* $attributes]) Renders the element widget returning html -public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Phalcon\\Forms\\Element constructor -public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the parent form to the element -public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the parent form to the element -public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element name -public **getName** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getName** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element name -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element filters -public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a filter to current list of filters -public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element filters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a group of validators -public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a validator to the element -public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the validators registered for the element -public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns an array of prepared attributes for Phalcon\\Tag helpers according to the element parameters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default attribute for the element -public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an attribute if present -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets default attributes for the element -public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default attributes for the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets an option for the element -public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an option if present -public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets options for the element -public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the options for the element -public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element label -public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element label -public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Generate the HTML to label the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default value in case the form does not use an entity or there is no value available for the element in _POST -public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default value assigned to the element -public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element value -public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the messages that belongs to the element The element needs to be attached to a form -public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Checks whether there are messages attached to the element -public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the validation messages related to the element -public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Appends a message to the internal message list -public **clear** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **clear** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Clears every element in the form to its default value -public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Magic method __toString renders the widget without attributes \ No newline at end of file diff --git a/el/api/Phalcon_Forms_Element_Date.md b/el/api/Phalcon_Forms_Element_Date.md index 9bdd42965358..701a6b5ffe81 100644 --- a/el/api/Phalcon_Forms_Element_Date.md +++ b/el/api/Phalcon_Forms_Element_Date.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Forms\\Element\\Date** -*extends* abstract class [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +*extends* abstract class [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) -*implements* [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) +*implements* [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) Source on GitHub @@ -14,130 +14,130 @@ public **render** ([*array* $attributes]) Renders the element widget returning html -public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Phalcon\\Forms\\Element constructor -public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the parent form to the element -public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the parent form to the element -public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element name -public **getName** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getName** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element name -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element filters -public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a filter to current list of filters -public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element filters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a group of validators -public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a validator to the element -public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the validators registered for the element -public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns an array of prepared attributes for Phalcon\\Tag helpers according to the element parameters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default attribute for the element -public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an attribute if present -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets default attributes for the element -public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default attributes for the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets an option for the element -public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an option if present -public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets options for the element -public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the options for the element -public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element label -public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element label -public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Generate the HTML to label the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default value in case the form does not use an entity or there is no value available for the element in _POST -public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default value assigned to the element -public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element value -public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the messages that belongs to the element The element needs to be attached to a form -public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Checks whether there are messages attached to the element -public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the validation messages related to the element -public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Appends a message to the internal message list -public **clear** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **clear** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Clears every element in the form to its default value -public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Magic method __toString renders the widget without attributes \ No newline at end of file diff --git a/el/api/Phalcon_Forms_Element_Email.md b/el/api/Phalcon_Forms_Element_Email.md index 46e6c4dd0910..e732f646f360 100644 --- a/el/api/Phalcon_Forms_Element_Email.md +++ b/el/api/Phalcon_Forms_Element_Email.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Forms\\Element\\Email** -*extends* abstract class [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +*extends* abstract class [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) -*implements* [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) +*implements* [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) Source on GitHub @@ -14,130 +14,130 @@ public **render** ([*array* $attributes]) Renders the element widget returning html -public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Phalcon\\Forms\\Element constructor -public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the parent form to the element -public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the parent form to the element -public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element name -public **getName** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getName** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element name -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element filters -public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a filter to current list of filters -public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element filters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a group of validators -public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a validator to the element -public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the validators registered for the element -public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns an array of prepared attributes for Phalcon\\Tag helpers according to the element parameters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default attribute for the element -public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an attribute if present -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets default attributes for the element -public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default attributes for the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets an option for the element -public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an option if present -public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets options for the element -public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the options for the element -public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element label -public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element label -public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Generate the HTML to label the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default value in case the form does not use an entity or there is no value available for the element in _POST -public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default value assigned to the element -public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element value -public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the messages that belongs to the element The element needs to be attached to a form -public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Checks whether there are messages attached to the element -public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the validation messages related to the element -public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Appends a message to the internal message list -public **clear** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **clear** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Clears every element in the form to its default value -public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Magic method __toString renders the widget without attributes \ No newline at end of file diff --git a/el/api/Phalcon_Forms_Element_File.md b/el/api/Phalcon_Forms_Element_File.md index 04fceec03b0d..b81797926b6f 100644 --- a/el/api/Phalcon_Forms_Element_File.md +++ b/el/api/Phalcon_Forms_Element_File.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Forms\\Element\\File** -*extends* abstract class [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +*extends* abstract class [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) -*implements* [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) +*implements* [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) Source on GitHub @@ -14,130 +14,130 @@ public **render** ([*array* $attributes]) Renders the element widget returning html -public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Phalcon\\Forms\\Element constructor -public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the parent form to the element -public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the parent form to the element -public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element name -public **getName** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getName** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element name -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element filters -public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a filter to current list of filters -public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element filters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a group of validators -public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a validator to the element -public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the validators registered for the element -public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns an array of prepared attributes for Phalcon\\Tag helpers according to the element parameters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default attribute for the element -public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an attribute if present -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets default attributes for the element -public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default attributes for the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets an option for the element -public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an option if present -public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets options for the element -public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the options for the element -public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element label -public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element label -public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Generate the HTML to label the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default value in case the form does not use an entity or there is no value available for the element in _POST -public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default value assigned to the element -public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element value -public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the messages that belongs to the element The element needs to be attached to a form -public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Checks whether there are messages attached to the element -public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the validation messages related to the element -public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Appends a message to the internal message list -public **clear** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **clear** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Clears every element in the form to its default value -public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Magic method __toString renders the widget without attributes \ No newline at end of file diff --git a/el/api/Phalcon_Forms_Element_Hidden.md b/el/api/Phalcon_Forms_Element_Hidden.md index 317e3fe554b8..91457ea53c89 100644 --- a/el/api/Phalcon_Forms_Element_Hidden.md +++ b/el/api/Phalcon_Forms_Element_Hidden.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Forms\\Element\\Hidden** -*extends* abstract class [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +*extends* abstract class [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) -*implements* [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) +*implements* [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) Source on GitHub @@ -14,130 +14,130 @@ public **render** ([*array* $attributes]) Renders the element widget returning html -public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Phalcon\\Forms\\Element constructor -public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the parent form to the element -public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the parent form to the element -public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element name -public **getName** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getName** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element name -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element filters -public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a filter to current list of filters -public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element filters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a group of validators -public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a validator to the element -public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the validators registered for the element -public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns an array of prepared attributes for Phalcon\\Tag helpers according to the element parameters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default attribute for the element -public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an attribute if present -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets default attributes for the element -public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default attributes for the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets an option for the element -public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an option if present -public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets options for the element -public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the options for the element -public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element label -public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element label -public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Generate the HTML to label the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default value in case the form does not use an entity or there is no value available for the element in _POST -public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default value assigned to the element -public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element value -public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the messages that belongs to the element The element needs to be attached to a form -public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Checks whether there are messages attached to the element -public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the validation messages related to the element -public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Appends a message to the internal message list -public **clear** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **clear** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Clears every element in the form to its default value -public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Magic method __toString renders the widget without attributes \ No newline at end of file diff --git a/el/api/Phalcon_Forms_Element_Numeric.md b/el/api/Phalcon_Forms_Element_Numeric.md index 1b13ae0d294f..cd365f3c022b 100644 --- a/el/api/Phalcon_Forms_Element_Numeric.md +++ b/el/api/Phalcon_Forms_Element_Numeric.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Forms\\Element\\Numeric** -*extends* abstract class [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +*extends* abstract class [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) -*implements* [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) +*implements* [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) Source on GitHub @@ -14,130 +14,130 @@ public **render** ([*array* $attributes]) Renders the element widget returning html -public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Phalcon\\Forms\\Element constructor -public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the parent form to the element -public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the parent form to the element -public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element name -public **getName** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getName** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element name -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element filters -public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a filter to current list of filters -public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element filters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a group of validators -public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a validator to the element -public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the validators registered for the element -public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns an array of prepared attributes for Phalcon\\Tag helpers according to the element parameters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default attribute for the element -public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an attribute if present -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets default attributes for the element -public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default attributes for the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets an option for the element -public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an option if present -public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets options for the element -public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the options for the element -public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element label -public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element label -public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Generate the HTML to label the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default value in case the form does not use an entity or there is no value available for the element in _POST -public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default value assigned to the element -public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element value -public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the messages that belongs to the element The element needs to be attached to a form -public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Checks whether there are messages attached to the element -public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the validation messages related to the element -public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Appends a message to the internal message list -public **clear** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **clear** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Clears every element in the form to its default value -public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Magic method __toString renders the widget without attributes \ No newline at end of file diff --git a/es/api/Phalcon_Cli_Router_Route.md b/es/api/Phalcon_Cli_Router_Route.md index 73e76009acee..290d5404abd8 100644 --- a/es/api/Phalcon_Cli_Router_Route.md +++ b/es/api/Phalcon_Cli_Router_Route.md @@ -46,7 +46,7 @@ $router->add( ``` -public [Phalcon\Cli\Router\Route](/en/3.1.2/api/Phalcon_Cli_Router_Route) **beforeMatch** (*callback* $callback) +public [Phalcon\Cli\Router\Route](/en/3.2/api/Phalcon_Cli_Router_Route) **beforeMatch** (*callback* $callback) Sets a callback that is called if the route is matched. The developer can implement any arbitrary conditions here If the callback returns false the route is treated as not matched @@ -74,7 +74,7 @@ public **getReversedPaths** () Returns the paths using positions as keys and names as values -public [Phalcon\Cli\Router\Route](/en/3.1.2/api/Phalcon_Cli_Router_Route) **convert** (*string* $name, *callable* $converter) +public [Phalcon\Cli\Router\Route](/en/3.2/api/Phalcon_Cli_Router_Route) **convert** (*string* $name, *callable* $converter) Adds a converter to perform an additional transformation for certain parameter diff --git a/es/api/Phalcon_Cli_Task.md b/es/api/Phalcon_Cli_Task.md index 4090d0b7bf55..15624d08810c 100644 --- a/es/api/Phalcon_Cli_Task.md +++ b/es/api/Phalcon_Cli_Task.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cli\\Task** -*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), [Phalcon\Cli\TaskInterface](/en/3.1.2/api/Phalcon_Cli_TaskInterface) +*implements* [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\Cli\TaskInterface](/en/3.2/api/Phalcon_Cli_TaskInterface) Source on GitHub @@ -35,22 +35,22 @@ final public **__construct** () Phalcon\\Cli\\Task constructor -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 **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Sets the event manager -public **getEventsManager** () inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **getEventsManager** () inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Returns the internal event manager -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_Config.md b/es/api/Phalcon_Config.md index 55a3611a9d38..7b972faed1f5 100644 --- a/es/api/Phalcon_Config.md +++ b/es/api/Phalcon_Config.md @@ -28,6 +28,10 @@ $config = new \Phalcon\Config( ``` +## Constants + +*string* **DEFAULT_PATH_DELIMITER** + ## Methods public **__construct** ([*array* $arrayConfig]) @@ -47,6 +51,17 @@ var_dump( ``` +public **path** (*mixed* $path, [*mixed* $defaultValue], [*mixed* $delimiter]) + +Returns a value from current config using a dot separated path. + +```php +path("unknown.path", "default", "."); + +``` + public **get** (*mixed* $index, [*mixed* $defaultValue]) Gets an attribute from the configuration, if the attribute isn't defined returns null If the value is exactly null or is not defined the default value will be used instead @@ -95,7 +110,7 @@ unset($config["database"]); ``` -public **merge** ([Phalcon\Config](/en/3.1.2/api/Phalcon_Config) $config) +public **merge** ([Phalcon\Config](/en/3.2/api/Phalcon_Config) $config) Merges a configuration into the current one @@ -151,6 +166,14 @@ public static **__set_state** (*array* $data) Restores the state of a Phalcon\\Config object +public static **setPathDelimiter** ([*mixed* $delimiter]) + +Sets the default path delimiter + +public static **getPathDelimiter** () + +Gets the default path delimiter + final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) Helper method for merge configs (forwarding nested config instance) \ No newline at end of file diff --git a/es/api/Phalcon_Config_Adapter_Ini.md b/es/api/Phalcon_Config_Adapter_Ini.md index 8458550716fa..3576158bc75f 100644 --- a/es/api/Phalcon_Config_Adapter_Ini.md +++ b/es/api/Phalcon_Config_Adapter_Ini.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Config\\Adapter\\Ini** -*extends* class [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +*extends* class [Phalcon\Config](/en/3.2/api/Phalcon_Config) *implements* [Countable](http://php.net/manual/en/class.countable.php), [ArrayAccess](http://php.net/manual/en/class.arrayaccess.php) @@ -51,6 +51,10 @@ $config = new \Phalcon\Config\Adapter\Ini( ``` +## Constants + +*string* **DEFAULT_PATH_DELIMITER** + ## Methods public **__construct** (*mixed* $filePath, [*mixed* $mode]) @@ -81,7 +85,7 @@ protected **_cast** (*mixed* $ini) We have to cast values manually because parse_ini_file() has a poor implementation. -public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Allows to check whether an attribute is defined using the array-syntax @@ -94,7 +98,18 @@ var_dump( ``` -public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **path** (*mixed* $path, [*mixed* $defaultValue], [*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Returns a value from current config using a dot separated path. + +```php +path("unknown.path", "default", "."); + +``` + +public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute from the configuration, if the attribute isn't defined returns null If the value is exactly null or is not defined the default value will be used instead @@ -105,7 +120,7 @@ echo $config->get("controllersDir", "../app/controllers/"); ``` -public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute using the array-syntax @@ -118,7 +133,7 @@ print_r( ``` -public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Sets an attribute using the array-syntax @@ -131,7 +146,7 @@ $config["database"] = [ ``` -public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Unsets an attribute using the array-syntax @@ -142,7 +157,7 @@ unset($config["database"]); ``` -public **merge** ([Phalcon\Config](/en/3.1.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **merge** ([Phalcon\Config](/en/3.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Merges a configuration into the current one @@ -161,7 +176,7 @@ $globalConfig->merge($appConfig); ``` -public **toArray** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **toArray** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Converts recursively the object to an array @@ -174,7 +189,7 @@ print_r( ``` -public **count** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **count** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Returns the count of properties set in the config @@ -194,10 +209,18 @@ print $config->count(); ``` -public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Restores the state of a Phalcon\\Config object -final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **setPathDelimiter** ([*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Sets the default path delimiter + +public static **getPathDelimiter** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Gets the default path delimiter + +final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Helper method for merge configs (forwarding nested config instance) \ No newline at end of file diff --git a/es/api/Phalcon_Config_Adapter_Json.md b/es/api/Phalcon_Config_Adapter_Json.md index 37d4418b4241..860df550aee3 100644 --- a/es/api/Phalcon_Config_Adapter_Json.md +++ b/es/api/Phalcon_Config_Adapter_Json.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Config\\Adapter\\Json** -*extends* class [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +*extends* class [Phalcon\Config](/en/3.2/api/Phalcon_Config) *implements* [Countable](http://php.net/manual/en/class.countable.php), [ArrayAccess](http://php.net/manual/en/class.arrayaccess.php) @@ -29,13 +29,17 @@ echo $config->models->metadata; ``` +## Constants + +*string* **DEFAULT_PATH_DELIMITER** + ## Methods public **__construct** (*mixed* $filePath) Phalcon\\Config\\Adapter\\Json constructor -public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Allows to check whether an attribute is defined using the array-syntax @@ -48,7 +52,18 @@ var_dump( ``` -public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **path** (*mixed* $path, [*mixed* $defaultValue], [*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Returns a value from current config using a dot separated path. + +```php +path("unknown.path", "default", "."); + +``` + +public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute from the configuration, if the attribute isn't defined returns null If the value is exactly null or is not defined the default value will be used instead @@ -59,7 +74,7 @@ echo $config->get("controllersDir", "../app/controllers/"); ``` -public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute using the array-syntax @@ -72,7 +87,7 @@ print_r( ``` -public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Sets an attribute using the array-syntax @@ -85,7 +100,7 @@ $config["database"] = [ ``` -public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Unsets an attribute using the array-syntax @@ -96,7 +111,7 @@ unset($config["database"]); ``` -public **merge** ([Phalcon\Config](/en/3.1.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **merge** ([Phalcon\Config](/en/3.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Merges a configuration into the current one @@ -115,7 +130,7 @@ $globalConfig->merge($appConfig); ``` -public **toArray** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **toArray** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Converts recursively the object to an array @@ -128,7 +143,7 @@ print_r( ``` -public **count** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **count** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Returns the count of properties set in the config @@ -148,10 +163,18 @@ print $config->count(); ``` -public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Restores the state of a Phalcon\\Config object -final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **setPathDelimiter** ([*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Sets the default path delimiter + +public static **getPathDelimiter** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Gets the default path delimiter + +final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Helper method for merge configs (forwarding nested config instance) \ No newline at end of file diff --git a/es/api/Phalcon_Config_Adapter_Php.md b/es/api/Phalcon_Config_Adapter_Php.md index d2dbf0e51bc1..844d5a6cdd20 100644 --- a/es/api/Phalcon_Config_Adapter_Php.md +++ b/es/api/Phalcon_Config_Adapter_Php.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Config\\Adapter\\Php** -*extends* class [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +*extends* class [Phalcon\Config](/en/3.2/api/Phalcon_Config) *implements* [Countable](http://php.net/manual/en/class.countable.php), [ArrayAccess](http://php.net/manual/en/class.arrayaccess.php) @@ -44,13 +44,17 @@ echo $config->database->username; ``` +## Constants + +*string* **DEFAULT_PATH_DELIMITER** + ## Methods public **__construct** (*mixed* $filePath) Phalcon\\Config\\Adapter\\Php constructor -public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Allows to check whether an attribute is defined using the array-syntax @@ -63,7 +67,18 @@ var_dump( ``` -public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **path** (*mixed* $path, [*mixed* $defaultValue], [*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Returns a value from current config using a dot separated path. + +```php +path("unknown.path", "default", "."); + +``` + +public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute from the configuration, if the attribute isn't defined returns null If the value is exactly null or is not defined the default value will be used instead @@ -74,7 +89,7 @@ echo $config->get("controllersDir", "../app/controllers/"); ``` -public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute using the array-syntax @@ -87,7 +102,7 @@ print_r( ``` -public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Sets an attribute using the array-syntax @@ -100,7 +115,7 @@ $config["database"] = [ ``` -public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Unsets an attribute using the array-syntax @@ -111,7 +126,7 @@ unset($config["database"]); ``` -public **merge** ([Phalcon\Config](/en/3.1.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **merge** ([Phalcon\Config](/en/3.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Merges a configuration into the current one @@ -130,7 +145,7 @@ $globalConfig->merge($appConfig); ``` -public **toArray** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **toArray** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Converts recursively the object to an array @@ -143,7 +158,7 @@ print_r( ``` -public **count** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **count** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Returns the count of properties set in the config @@ -163,10 +178,18 @@ print $config->count(); ``` -public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Restores the state of a Phalcon\\Config object -final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **setPathDelimiter** ([*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Sets the default path delimiter + +public static **getPathDelimiter** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Gets the default path delimiter + +final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Helper method for merge configs (forwarding nested config instance) \ No newline at end of file diff --git a/es/api/Phalcon_Config_Adapter_Yaml.md b/es/api/Phalcon_Config_Adapter_Yaml.md index a63e7a518e4d..1955bc04918c 100644 --- a/es/api/Phalcon_Config_Adapter_Yaml.md +++ b/es/api/Phalcon_Config_Adapter_Yaml.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Config\\Adapter\\Yaml** -*extends* class [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +*extends* class [Phalcon\Config](/en/3.2/api/Phalcon_Config) *implements* [Countable](http://php.net/manual/en/class.countable.php), [ArrayAccess](http://php.net/manual/en/class.arrayaccess.php) @@ -46,13 +46,17 @@ echo $config->models->metadata; ``` +## Constants + +*string* **DEFAULT_PATH_DELIMITER** + ## Methods public **__construct** (*mixed* $filePath, [*array* $callbacks]) Phalcon\\Config\\Adapter\\Yaml constructor -public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Allows to check whether an attribute is defined using the array-syntax @@ -65,7 +69,18 @@ var_dump( ``` -public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **path** (*mixed* $path, [*mixed* $defaultValue], [*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Returns a value from current config using a dot separated path. + +```php +path("unknown.path", "default", "."); + +``` + +public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute from the configuration, if the attribute isn't defined returns null If the value is exactly null or is not defined the default value will be used instead @@ -76,7 +91,7 @@ echo $config->get("controllersDir", "../app/controllers/"); ``` -public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute using the array-syntax @@ -89,7 +104,7 @@ print_r( ``` -public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Sets an attribute using the array-syntax @@ -102,7 +117,7 @@ $config["database"] = [ ``` -public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Unsets an attribute using the array-syntax @@ -113,7 +128,7 @@ unset($config["database"]); ``` -public **merge** ([Phalcon\Config](/en/3.1.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **merge** ([Phalcon\Config](/en/3.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Merges a configuration into the current one @@ -132,7 +147,7 @@ $globalConfig->merge($appConfig); ``` -public **toArray** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **toArray** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Converts recursively the object to an array @@ -145,7 +160,7 @@ print_r( ``` -public **count** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **count** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Returns the count of properties set in the config @@ -165,10 +180,18 @@ print $config->count(); ``` -public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Restores the state of a Phalcon\\Config object -final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **setPathDelimiter** ([*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Sets the default path delimiter + +public static **getPathDelimiter** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Gets the default path delimiter + +final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Helper method for merge configs (forwarding nested config instance) \ No newline at end of file diff --git a/es/api/Phalcon_Config_Exception.md b/es/api/Phalcon_Config_Exception.md index fe180ca140c2..870c720975df 100644 --- a/es/api/Phalcon_Config_Exception.md +++ b/es/api/Phalcon_Config_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Config\\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_Crypt.md b/es/api/Phalcon_Crypt.md index 02729550912f..348e1401a9a0 100644 --- a/es/api/Phalcon_Crypt.md +++ b/es/api/Phalcon_Crypt.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Crypt** -*implements* [Phalcon\CryptInterface](/en/3.1.2/api/Phalcon_CryptInterface) +*implements* [Phalcon\CryptInterface](/en/3.2/api/Phalcon_CryptInterface) Source on GitHub diff --git a/es/api/Phalcon_Crypt_Exception.md b/es/api/Phalcon_Crypt_Exception.md index 677b1db3e78e..ea2a2af5ed7e 100644 --- a/es/api/Phalcon_Crypt_Exception.md +++ b/es/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/es/api/Phalcon_Flash.md b/es/api/Phalcon_Flash.md index 46db08bba6b6..fab60ddca1fb 100644 --- a/es/api/Phalcon_Flash.md +++ b/es/api/Phalcon_Flash.md @@ -1,6 +1,6 @@ # Abstract class **Phalcon\\Flash** -*implements* [Phalcon\FlashInterface](/en/3.1.2/api/Phalcon_FlashInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.1.2/api/Phalcon_Di_InjectionAwareInterface) +*implements* [Phalcon\FlashInterface](/en/3.2/api/Phalcon_FlashInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface) Source on GitHub @@ -32,11 +32,11 @@ public **getEscaperService** () Returns the Escaper Service -public **setEscaperService** ([Phalcon\EscaperInterface](/en/3.1.2/api/Phalcon_EscaperInterface) $escaperService) +public **setEscaperService** ([Phalcon\EscaperInterface](/en/3.2/api/Phalcon_EscaperInterface) $escaperService) Sets the Escaper Service -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 @@ -115,6 +115,6 @@ public **clear** () Clears accumulated messages when implicit flush is disabled -abstract public **message** (*mixed* $type, *mixed* $message) inherited from [Phalcon\FlashInterface](/en/3.1.2/api/Phalcon_FlashInterface) +abstract public **message** (*mixed* $type, *mixed* $message) inherited from [Phalcon\FlashInterface](/en/3.2/api/Phalcon_FlashInterface) ... \ No newline at end of file diff --git a/es/api/Phalcon_Forms_ElementInterface.md b/es/api/Phalcon_Forms_ElementInterface.md index bde079440bdc..8108787311a9 100644 --- a/es/api/Phalcon_Forms_ElementInterface.md +++ b/es/api/Phalcon_Forms_ElementInterface.md @@ -4,7 +4,7 @@ ## Methods -abstract public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) +abstract public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) ... @@ -36,7 +36,7 @@ abstract public **addValidators** (*array* $validators, [*mixed* $merge]) ... -abstract public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) +abstract public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) ... @@ -112,11 +112,11 @@ abstract public **hasMessages** () ... -abstract public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) +abstract public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) ... -abstract public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) +abstract public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) ... diff --git a/es/api/Phalcon_Forms_Element_Check.md b/es/api/Phalcon_Forms_Element_Check.md index f7f53cada4b4..320a3d0b2bed 100644 --- a/es/api/Phalcon_Forms_Element_Check.md +++ b/es/api/Phalcon_Forms_Element_Check.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Forms\\Element\\Check** -*extends* abstract class [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +*extends* abstract class [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) -*implements* [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) +*implements* [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) Source on GitHub @@ -14,130 +14,130 @@ public **render** ([*array* $attributes]) Renders the element widget returning html -public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Phalcon\\Forms\\Element constructor -public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the parent form to the element -public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the parent form to the element -public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element name -public **getName** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getName** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element name -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element filters -public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a filter to current list of filters -public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element filters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a group of validators -public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a validator to the element -public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the validators registered for the element -public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns an array of prepared attributes for Phalcon\\Tag helpers according to the element parameters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default attribute for the element -public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an attribute if present -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets default attributes for the element -public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default attributes for the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets an option for the element -public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an option if present -public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets options for the element -public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the options for the element -public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element label -public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element label -public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Generate the HTML to label the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default value in case the form does not use an entity or there is no value available for the element in _POST -public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default value assigned to the element -public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element value -public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the messages that belongs to the element The element needs to be attached to a form -public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Checks whether there are messages attached to the element -public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the validation messages related to the element -public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Appends a message to the internal message list -public **clear** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **clear** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Clears every element in the form to its default value -public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Magic method __toString renders the widget without attributes \ No newline at end of file diff --git a/es/api/Phalcon_Forms_Element_Date.md b/es/api/Phalcon_Forms_Element_Date.md index 9bdd42965358..701a6b5ffe81 100644 --- a/es/api/Phalcon_Forms_Element_Date.md +++ b/es/api/Phalcon_Forms_Element_Date.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Forms\\Element\\Date** -*extends* abstract class [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +*extends* abstract class [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) -*implements* [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) +*implements* [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) Source on GitHub @@ -14,130 +14,130 @@ public **render** ([*array* $attributes]) Renders the element widget returning html -public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Phalcon\\Forms\\Element constructor -public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the parent form to the element -public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the parent form to the element -public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element name -public **getName** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getName** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element name -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element filters -public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a filter to current list of filters -public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element filters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a group of validators -public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a validator to the element -public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the validators registered for the element -public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns an array of prepared attributes for Phalcon\\Tag helpers according to the element parameters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default attribute for the element -public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an attribute if present -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets default attributes for the element -public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default attributes for the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets an option for the element -public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an option if present -public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets options for the element -public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the options for the element -public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element label -public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element label -public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Generate the HTML to label the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default value in case the form does not use an entity or there is no value available for the element in _POST -public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default value assigned to the element -public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element value -public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the messages that belongs to the element The element needs to be attached to a form -public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Checks whether there are messages attached to the element -public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the validation messages related to the element -public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Appends a message to the internal message list -public **clear** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **clear** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Clears every element in the form to its default value -public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Magic method __toString renders the widget without attributes \ No newline at end of file diff --git a/es/api/Phalcon_Forms_Element_Email.md b/es/api/Phalcon_Forms_Element_Email.md index 46e6c4dd0910..e732f646f360 100644 --- a/es/api/Phalcon_Forms_Element_Email.md +++ b/es/api/Phalcon_Forms_Element_Email.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Forms\\Element\\Email** -*extends* abstract class [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +*extends* abstract class [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) -*implements* [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) +*implements* [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) Source on GitHub @@ -14,130 +14,130 @@ public **render** ([*array* $attributes]) Renders the element widget returning html -public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Phalcon\\Forms\\Element constructor -public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the parent form to the element -public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the parent form to the element -public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element name -public **getName** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getName** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element name -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element filters -public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a filter to current list of filters -public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element filters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a group of validators -public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a validator to the element -public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the validators registered for the element -public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns an array of prepared attributes for Phalcon\\Tag helpers according to the element parameters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default attribute for the element -public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an attribute if present -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets default attributes for the element -public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default attributes for the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets an option for the element -public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an option if present -public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets options for the element -public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the options for the element -public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element label -public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element label -public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Generate the HTML to label the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default value in case the form does not use an entity or there is no value available for the element in _POST -public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default value assigned to the element -public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element value -public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the messages that belongs to the element The element needs to be attached to a form -public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Checks whether there are messages attached to the element -public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the validation messages related to the element -public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Appends a message to the internal message list -public **clear** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **clear** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Clears every element in the form to its default value -public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Magic method __toString renders the widget without attributes \ No newline at end of file diff --git a/es/api/Phalcon_Forms_Element_File.md b/es/api/Phalcon_Forms_Element_File.md index 04fceec03b0d..b81797926b6f 100644 --- a/es/api/Phalcon_Forms_Element_File.md +++ b/es/api/Phalcon_Forms_Element_File.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Forms\\Element\\File** -*extends* abstract class [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +*extends* abstract class [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) -*implements* [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) +*implements* [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) Source on GitHub @@ -14,130 +14,130 @@ public **render** ([*array* $attributes]) Renders the element widget returning html -public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Phalcon\\Forms\\Element constructor -public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the parent form to the element -public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the parent form to the element -public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element name -public **getName** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getName** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element name -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element filters -public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a filter to current list of filters -public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element filters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a group of validators -public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a validator to the element -public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the validators registered for the element -public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns an array of prepared attributes for Phalcon\\Tag helpers according to the element parameters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default attribute for the element -public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an attribute if present -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets default attributes for the element -public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default attributes for the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets an option for the element -public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an option if present -public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets options for the element -public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the options for the element -public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element label -public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element label -public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Generate the HTML to label the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default value in case the form does not use an entity or there is no value available for the element in _POST -public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default value assigned to the element -public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element value -public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the messages that belongs to the element The element needs to be attached to a form -public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Checks whether there are messages attached to the element -public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the validation messages related to the element -public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Appends a message to the internal message list -public **clear** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **clear** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Clears every element in the form to its default value -public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Magic method __toString renders the widget without attributes \ No newline at end of file diff --git a/es/api/Phalcon_Forms_Element_Hidden.md b/es/api/Phalcon_Forms_Element_Hidden.md index 317e3fe554b8..91457ea53c89 100644 --- a/es/api/Phalcon_Forms_Element_Hidden.md +++ b/es/api/Phalcon_Forms_Element_Hidden.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Forms\\Element\\Hidden** -*extends* abstract class [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +*extends* abstract class [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) -*implements* [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) +*implements* [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) Source on GitHub @@ -14,130 +14,130 @@ public **render** ([*array* $attributes]) Renders the element widget returning html -public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Phalcon\\Forms\\Element constructor -public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the parent form to the element -public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the parent form to the element -public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element name -public **getName** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getName** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element name -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element filters -public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a filter to current list of filters -public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element filters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a group of validators -public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a validator to the element -public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the validators registered for the element -public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns an array of prepared attributes for Phalcon\\Tag helpers according to the element parameters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default attribute for the element -public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an attribute if present -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets default attributes for the element -public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default attributes for the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets an option for the element -public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an option if present -public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets options for the element -public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the options for the element -public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element label -public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element label -public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Generate the HTML to label the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default value in case the form does not use an entity or there is no value available for the element in _POST -public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default value assigned to the element -public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element value -public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the messages that belongs to the element The element needs to be attached to a form -public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Checks whether there are messages attached to the element -public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the validation messages related to the element -public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Appends a message to the internal message list -public **clear** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **clear** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Clears every element in the form to its default value -public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Magic method __toString renders the widget without attributes \ No newline at end of file diff --git a/fr/api/Phalcon_Cli_Router_Route.md b/fr/api/Phalcon_Cli_Router_Route.md index 73e76009acee..290d5404abd8 100644 --- a/fr/api/Phalcon_Cli_Router_Route.md +++ b/fr/api/Phalcon_Cli_Router_Route.md @@ -46,7 +46,7 @@ $router->add( ``` -public [Phalcon\Cli\Router\Route](/en/3.1.2/api/Phalcon_Cli_Router_Route) **beforeMatch** (*callback* $callback) +public [Phalcon\Cli\Router\Route](/en/3.2/api/Phalcon_Cli_Router_Route) **beforeMatch** (*callback* $callback) Sets a callback that is called if the route is matched. The developer can implement any arbitrary conditions here If the callback returns false the route is treated as not matched @@ -74,7 +74,7 @@ public **getReversedPaths** () Returns the paths using positions as keys and names as values -public [Phalcon\Cli\Router\Route](/en/3.1.2/api/Phalcon_Cli_Router_Route) **convert** (*string* $name, *callable* $converter) +public [Phalcon\Cli\Router\Route](/en/3.2/api/Phalcon_Cli_Router_Route) **convert** (*string* $name, *callable* $converter) Adds a converter to perform an additional transformation for certain parameter diff --git a/fr/api/Phalcon_Cli_Task.md b/fr/api/Phalcon_Cli_Task.md index 4090d0b7bf55..15624d08810c 100644 --- a/fr/api/Phalcon_Cli_Task.md +++ b/fr/api/Phalcon_Cli_Task.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cli\\Task** -*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), [Phalcon\Cli\TaskInterface](/en/3.1.2/api/Phalcon_Cli_TaskInterface) +*implements* [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\Cli\TaskInterface](/en/3.2/api/Phalcon_Cli_TaskInterface) Source on GitHub @@ -35,22 +35,22 @@ final public **__construct** () Phalcon\\Cli\\Task constructor -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 **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Sets the event manager -public **getEventsManager** () inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **getEventsManager** () inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Returns the internal event manager -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_Config.md b/fr/api/Phalcon_Config.md index 55a3611a9d38..7b972faed1f5 100644 --- a/fr/api/Phalcon_Config.md +++ b/fr/api/Phalcon_Config.md @@ -28,6 +28,10 @@ $config = new \Phalcon\Config( ``` +## Constants + +*string* **DEFAULT_PATH_DELIMITER** + ## Methods public **__construct** ([*array* $arrayConfig]) @@ -47,6 +51,17 @@ var_dump( ``` +public **path** (*mixed* $path, [*mixed* $defaultValue], [*mixed* $delimiter]) + +Returns a value from current config using a dot separated path. + +```php +path("unknown.path", "default", "."); + +``` + public **get** (*mixed* $index, [*mixed* $defaultValue]) Gets an attribute from the configuration, if the attribute isn't defined returns null If the value is exactly null or is not defined the default value will be used instead @@ -95,7 +110,7 @@ unset($config["database"]); ``` -public **merge** ([Phalcon\Config](/en/3.1.2/api/Phalcon_Config) $config) +public **merge** ([Phalcon\Config](/en/3.2/api/Phalcon_Config) $config) Merges a configuration into the current one @@ -151,6 +166,14 @@ public static **__set_state** (*array* $data) Restores the state of a Phalcon\\Config object +public static **setPathDelimiter** ([*mixed* $delimiter]) + +Sets the default path delimiter + +public static **getPathDelimiter** () + +Gets the default path delimiter + final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) Helper method for merge configs (forwarding nested config instance) \ No newline at end of file diff --git a/fr/api/Phalcon_Config_Adapter_Ini.md b/fr/api/Phalcon_Config_Adapter_Ini.md index 8458550716fa..3576158bc75f 100644 --- a/fr/api/Phalcon_Config_Adapter_Ini.md +++ b/fr/api/Phalcon_Config_Adapter_Ini.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Config\\Adapter\\Ini** -*extends* class [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +*extends* class [Phalcon\Config](/en/3.2/api/Phalcon_Config) *implements* [Countable](http://php.net/manual/en/class.countable.php), [ArrayAccess](http://php.net/manual/en/class.arrayaccess.php) @@ -51,6 +51,10 @@ $config = new \Phalcon\Config\Adapter\Ini( ``` +## Constants + +*string* **DEFAULT_PATH_DELIMITER** + ## Methods public **__construct** (*mixed* $filePath, [*mixed* $mode]) @@ -81,7 +85,7 @@ protected **_cast** (*mixed* $ini) We have to cast values manually because parse_ini_file() has a poor implementation. -public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Allows to check whether an attribute is defined using the array-syntax @@ -94,7 +98,18 @@ var_dump( ``` -public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **path** (*mixed* $path, [*mixed* $defaultValue], [*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Returns a value from current config using a dot separated path. + +```php +path("unknown.path", "default", "."); + +``` + +public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute from the configuration, if the attribute isn't defined returns null If the value is exactly null or is not defined the default value will be used instead @@ -105,7 +120,7 @@ echo $config->get("controllersDir", "../app/controllers/"); ``` -public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute using the array-syntax @@ -118,7 +133,7 @@ print_r( ``` -public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Sets an attribute using the array-syntax @@ -131,7 +146,7 @@ $config["database"] = [ ``` -public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Unsets an attribute using the array-syntax @@ -142,7 +157,7 @@ unset($config["database"]); ``` -public **merge** ([Phalcon\Config](/en/3.1.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **merge** ([Phalcon\Config](/en/3.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Merges a configuration into the current one @@ -161,7 +176,7 @@ $globalConfig->merge($appConfig); ``` -public **toArray** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **toArray** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Converts recursively the object to an array @@ -174,7 +189,7 @@ print_r( ``` -public **count** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **count** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Returns the count of properties set in the config @@ -194,10 +209,18 @@ print $config->count(); ``` -public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Restores the state of a Phalcon\\Config object -final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **setPathDelimiter** ([*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Sets the default path delimiter + +public static **getPathDelimiter** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Gets the default path delimiter + +final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Helper method for merge configs (forwarding nested config instance) \ No newline at end of file diff --git a/fr/api/Phalcon_Config_Adapter_Json.md b/fr/api/Phalcon_Config_Adapter_Json.md index 37d4418b4241..860df550aee3 100644 --- a/fr/api/Phalcon_Config_Adapter_Json.md +++ b/fr/api/Phalcon_Config_Adapter_Json.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Config\\Adapter\\Json** -*extends* class [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +*extends* class [Phalcon\Config](/en/3.2/api/Phalcon_Config) *implements* [Countable](http://php.net/manual/en/class.countable.php), [ArrayAccess](http://php.net/manual/en/class.arrayaccess.php) @@ -29,13 +29,17 @@ echo $config->models->metadata; ``` +## Constants + +*string* **DEFAULT_PATH_DELIMITER** + ## Methods public **__construct** (*mixed* $filePath) Phalcon\\Config\\Adapter\\Json constructor -public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Allows to check whether an attribute is defined using the array-syntax @@ -48,7 +52,18 @@ var_dump( ``` -public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **path** (*mixed* $path, [*mixed* $defaultValue], [*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Returns a value from current config using a dot separated path. + +```php +path("unknown.path", "default", "."); + +``` + +public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute from the configuration, if the attribute isn't defined returns null If the value is exactly null or is not defined the default value will be used instead @@ -59,7 +74,7 @@ echo $config->get("controllersDir", "../app/controllers/"); ``` -public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute using the array-syntax @@ -72,7 +87,7 @@ print_r( ``` -public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Sets an attribute using the array-syntax @@ -85,7 +100,7 @@ $config["database"] = [ ``` -public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Unsets an attribute using the array-syntax @@ -96,7 +111,7 @@ unset($config["database"]); ``` -public **merge** ([Phalcon\Config](/en/3.1.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **merge** ([Phalcon\Config](/en/3.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Merges a configuration into the current one @@ -115,7 +130,7 @@ $globalConfig->merge($appConfig); ``` -public **toArray** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **toArray** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Converts recursively the object to an array @@ -128,7 +143,7 @@ print_r( ``` -public **count** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **count** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Returns the count of properties set in the config @@ -148,10 +163,18 @@ print $config->count(); ``` -public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Restores the state of a Phalcon\\Config object -final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **setPathDelimiter** ([*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Sets the default path delimiter + +public static **getPathDelimiter** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Gets the default path delimiter + +final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Helper method for merge configs (forwarding nested config instance) \ No newline at end of file diff --git a/fr/api/Phalcon_Config_Adapter_Php.md b/fr/api/Phalcon_Config_Adapter_Php.md index d2dbf0e51bc1..844d5a6cdd20 100644 --- a/fr/api/Phalcon_Config_Adapter_Php.md +++ b/fr/api/Phalcon_Config_Adapter_Php.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Config\\Adapter\\Php** -*extends* class [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +*extends* class [Phalcon\Config](/en/3.2/api/Phalcon_Config) *implements* [Countable](http://php.net/manual/en/class.countable.php), [ArrayAccess](http://php.net/manual/en/class.arrayaccess.php) @@ -44,13 +44,17 @@ echo $config->database->username; ``` +## Constants + +*string* **DEFAULT_PATH_DELIMITER** + ## Methods public **__construct** (*mixed* $filePath) Phalcon\\Config\\Adapter\\Php constructor -public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Allows to check whether an attribute is defined using the array-syntax @@ -63,7 +67,18 @@ var_dump( ``` -public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **path** (*mixed* $path, [*mixed* $defaultValue], [*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Returns a value from current config using a dot separated path. + +```php +path("unknown.path", "default", "."); + +``` + +public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute from the configuration, if the attribute isn't defined returns null If the value is exactly null or is not defined the default value will be used instead @@ -74,7 +89,7 @@ echo $config->get("controllersDir", "../app/controllers/"); ``` -public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute using the array-syntax @@ -87,7 +102,7 @@ print_r( ``` -public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Sets an attribute using the array-syntax @@ -100,7 +115,7 @@ $config["database"] = [ ``` -public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Unsets an attribute using the array-syntax @@ -111,7 +126,7 @@ unset($config["database"]); ``` -public **merge** ([Phalcon\Config](/en/3.1.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **merge** ([Phalcon\Config](/en/3.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Merges a configuration into the current one @@ -130,7 +145,7 @@ $globalConfig->merge($appConfig); ``` -public **toArray** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **toArray** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Converts recursively the object to an array @@ -143,7 +158,7 @@ print_r( ``` -public **count** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **count** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Returns the count of properties set in the config @@ -163,10 +178,18 @@ print $config->count(); ``` -public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Restores the state of a Phalcon\\Config object -final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **setPathDelimiter** ([*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Sets the default path delimiter + +public static **getPathDelimiter** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Gets the default path delimiter + +final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Helper method for merge configs (forwarding nested config instance) \ No newline at end of file diff --git a/fr/api/Phalcon_Config_Adapter_Yaml.md b/fr/api/Phalcon_Config_Adapter_Yaml.md index a63e7a518e4d..1955bc04918c 100644 --- a/fr/api/Phalcon_Config_Adapter_Yaml.md +++ b/fr/api/Phalcon_Config_Adapter_Yaml.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Config\\Adapter\\Yaml** -*extends* class [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +*extends* class [Phalcon\Config](/en/3.2/api/Phalcon_Config) *implements* [Countable](http://php.net/manual/en/class.countable.php), [ArrayAccess](http://php.net/manual/en/class.arrayaccess.php) @@ -46,13 +46,17 @@ echo $config->models->metadata; ``` +## Constants + +*string* **DEFAULT_PATH_DELIMITER** + ## Methods public **__construct** (*mixed* $filePath, [*array* $callbacks]) Phalcon\\Config\\Adapter\\Yaml constructor -public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Allows to check whether an attribute is defined using the array-syntax @@ -65,7 +69,18 @@ var_dump( ``` -public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **path** (*mixed* $path, [*mixed* $defaultValue], [*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Returns a value from current config using a dot separated path. + +```php +path("unknown.path", "default", "."); + +``` + +public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute from the configuration, if the attribute isn't defined returns null If the value is exactly null or is not defined the default value will be used instead @@ -76,7 +91,7 @@ echo $config->get("controllersDir", "../app/controllers/"); ``` -public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute using the array-syntax @@ -89,7 +104,7 @@ print_r( ``` -public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Sets an attribute using the array-syntax @@ -102,7 +117,7 @@ $config["database"] = [ ``` -public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Unsets an attribute using the array-syntax @@ -113,7 +128,7 @@ unset($config["database"]); ``` -public **merge** ([Phalcon\Config](/en/3.1.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **merge** ([Phalcon\Config](/en/3.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Merges a configuration into the current one @@ -132,7 +147,7 @@ $globalConfig->merge($appConfig); ``` -public **toArray** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **toArray** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Converts recursively the object to an array @@ -145,7 +160,7 @@ print_r( ``` -public **count** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **count** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Returns the count of properties set in the config @@ -165,10 +180,18 @@ print $config->count(); ``` -public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Restores the state of a Phalcon\\Config object -final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **setPathDelimiter** ([*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Sets the default path delimiter + +public static **getPathDelimiter** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Gets the default path delimiter + +final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Helper method for merge configs (forwarding nested config instance) \ No newline at end of file diff --git a/fr/api/Phalcon_Config_Exception.md b/fr/api/Phalcon_Config_Exception.md index fe180ca140c2..870c720975df 100644 --- a/fr/api/Phalcon_Config_Exception.md +++ b/fr/api/Phalcon_Config_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Config\\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_Crypt.md b/fr/api/Phalcon_Crypt.md index 02729550912f..348e1401a9a0 100644 --- a/fr/api/Phalcon_Crypt.md +++ b/fr/api/Phalcon_Crypt.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Crypt** -*implements* [Phalcon\CryptInterface](/en/3.1.2/api/Phalcon_CryptInterface) +*implements* [Phalcon\CryptInterface](/en/3.2/api/Phalcon_CryptInterface) Source on GitHub diff --git a/fr/api/Phalcon_Crypt_Exception.md b/fr/api/Phalcon_Crypt_Exception.md index 677b1db3e78e..ea2a2af5ed7e 100644 --- a/fr/api/Phalcon_Crypt_Exception.md +++ b/fr/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/fr/api/Phalcon_Flash.md b/fr/api/Phalcon_Flash.md index 46db08bba6b6..fab60ddca1fb 100644 --- a/fr/api/Phalcon_Flash.md +++ b/fr/api/Phalcon_Flash.md @@ -1,6 +1,6 @@ # Abstract class **Phalcon\\Flash** -*implements* [Phalcon\FlashInterface](/en/3.1.2/api/Phalcon_FlashInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.1.2/api/Phalcon_Di_InjectionAwareInterface) +*implements* [Phalcon\FlashInterface](/en/3.2/api/Phalcon_FlashInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface) Source on GitHub @@ -32,11 +32,11 @@ public **getEscaperService** () Returns the Escaper Service -public **setEscaperService** ([Phalcon\EscaperInterface](/en/3.1.2/api/Phalcon_EscaperInterface) $escaperService) +public **setEscaperService** ([Phalcon\EscaperInterface](/en/3.2/api/Phalcon_EscaperInterface) $escaperService) Sets the Escaper Service -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 @@ -115,6 +115,6 @@ public **clear** () Clears accumulated messages when implicit flush is disabled -abstract public **message** (*mixed* $type, *mixed* $message) inherited from [Phalcon\FlashInterface](/en/3.1.2/api/Phalcon_FlashInterface) +abstract public **message** (*mixed* $type, *mixed* $message) inherited from [Phalcon\FlashInterface](/en/3.2/api/Phalcon_FlashInterface) ... \ No newline at end of file diff --git a/fr/api/Phalcon_Flash_Direct.md b/fr/api/Phalcon_Flash_Direct.md index 5563e108b68e..9b8045cf2a4e 100644 --- a/fr/api/Phalcon_Flash_Direct.md +++ b/fr/api/Phalcon_Flash_Direct.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Flash\\Direct** -*extends* abstract class [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +*extends* abstract class [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) -*implements* [Phalcon\Di\InjectionAwareInterface](/en/3.1.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\FlashInterface](/en/3.1.2/api/Phalcon_FlashInterface) +*implements* [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\FlashInterface](/en/3.2/api/Phalcon_FlashInterface) Source on GitHub @@ -18,47 +18,47 @@ public **output** ([*mixed* $remove]) Prints the messages accumulated in the flasher -public **__construct** ([*mixed* $cssClasses]) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **__construct** ([*mixed* $cssClasses]) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Phalcon\\Flash constructor -public **getAutoescape** () inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **getAutoescape** () inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Returns the autoescape mode in generated html -public **setAutoescape** (*mixed* $autoescape) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **setAutoescape** (*mixed* $autoescape) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Set the autoescape mode in generated html -public **getEscaperService** () inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **getEscaperService** () inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Returns the Escaper Service -public **setEscaperService** ([Phalcon\EscaperInterface](/en/3.1.2/api/Phalcon_EscaperInterface) $escaperService) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **setEscaperService** ([Phalcon\EscaperInterface](/en/3.2/api/Phalcon_EscaperInterface) $escaperService) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Sets the Escaper Service -public **setDI** ([Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **setDI** ([Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Sets the dependency injector -public **getDI** () inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **getDI** () inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Returns the internal dependency injector -public **setImplicitFlush** (*mixed* $implicitFlush) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **setImplicitFlush** (*mixed* $implicitFlush) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Set whether the output must be implicitly flushed to the output or returned as string -public **setAutomaticHtml** (*mixed* $automaticHtml) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **setAutomaticHtml** (*mixed* $automaticHtml) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Set if the output must be implicitly formatted with HTML -public **setCssClasses** (*array* $cssClasses) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **setCssClasses** (*array* $cssClasses) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Set an array with CSS classes to format the messages -public **error** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **error** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Shows a HTML error message @@ -69,7 +69,7 @@ $flash->error("This is an error"); ``` -public **notice** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **notice** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Shows a HTML notice/information message @@ -80,7 +80,7 @@ $flash->notice("This is an information"); ``` -public **success** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **success** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Shows a HTML success message @@ -91,7 +91,7 @@ $flash->success("The process was finished successfully"); ``` -public **warning** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **warning** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Shows a HTML warning message @@ -102,7 +102,7 @@ $flash->warning("Hey, this is important"); ``` -public *string* | *void* **outputMessage** (*mixed* $type, *string* | *array* $message) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public *string* | *void* **outputMessage** (*mixed* $type, *string* | *array* $message) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Outputs a message formatting it with HTML @@ -113,6 +113,6 @@ $flash->outputMessage("error", $message); ``` -public **clear** () inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **clear** () inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Clears accumulated messages when implicit flush is disabled \ No newline at end of file diff --git a/fr/api/Phalcon_Forms_ElementInterface.md b/fr/api/Phalcon_Forms_ElementInterface.md index bde079440bdc..8108787311a9 100644 --- a/fr/api/Phalcon_Forms_ElementInterface.md +++ b/fr/api/Phalcon_Forms_ElementInterface.md @@ -4,7 +4,7 @@ ## Methods -abstract public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) +abstract public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) ... @@ -36,7 +36,7 @@ abstract public **addValidators** (*array* $validators, [*mixed* $merge]) ... -abstract public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) +abstract public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) ... @@ -112,11 +112,11 @@ abstract public **hasMessages** () ... -abstract public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) +abstract public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) ... -abstract public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) +abstract public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) ... diff --git a/fr/api/Phalcon_Forms_Element_Check.md b/fr/api/Phalcon_Forms_Element_Check.md index f7f53cada4b4..320a3d0b2bed 100644 --- a/fr/api/Phalcon_Forms_Element_Check.md +++ b/fr/api/Phalcon_Forms_Element_Check.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Forms\\Element\\Check** -*extends* abstract class [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +*extends* abstract class [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) -*implements* [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) +*implements* [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) Source on GitHub @@ -14,130 +14,130 @@ public **render** ([*array* $attributes]) Renders the element widget returning html -public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Phalcon\\Forms\\Element constructor -public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the parent form to the element -public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the parent form to the element -public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element name -public **getName** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getName** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element name -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element filters -public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a filter to current list of filters -public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element filters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a group of validators -public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a validator to the element -public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the validators registered for the element -public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns an array of prepared attributes for Phalcon\\Tag helpers according to the element parameters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default attribute for the element -public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an attribute if present -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets default attributes for the element -public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default attributes for the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets an option for the element -public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an option if present -public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets options for the element -public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the options for the element -public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element label -public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element label -public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Generate the HTML to label the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default value in case the form does not use an entity or there is no value available for the element in _POST -public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default value assigned to the element -public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element value -public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the messages that belongs to the element The element needs to be attached to a form -public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Checks whether there are messages attached to the element -public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the validation messages related to the element -public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Appends a message to the internal message list -public **clear** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **clear** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Clears every element in the form to its default value -public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Magic method __toString renders the widget without attributes \ No newline at end of file diff --git a/fr/api/Phalcon_Forms_Element_Date.md b/fr/api/Phalcon_Forms_Element_Date.md index 9bdd42965358..701a6b5ffe81 100644 --- a/fr/api/Phalcon_Forms_Element_Date.md +++ b/fr/api/Phalcon_Forms_Element_Date.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Forms\\Element\\Date** -*extends* abstract class [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +*extends* abstract class [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) -*implements* [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) +*implements* [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) Source on GitHub @@ -14,130 +14,130 @@ public **render** ([*array* $attributes]) Renders the element widget returning html -public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Phalcon\\Forms\\Element constructor -public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the parent form to the element -public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the parent form to the element -public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element name -public **getName** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getName** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element name -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element filters -public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a filter to current list of filters -public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element filters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a group of validators -public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a validator to the element -public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the validators registered for the element -public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns an array of prepared attributes for Phalcon\\Tag helpers according to the element parameters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default attribute for the element -public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an attribute if present -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets default attributes for the element -public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default attributes for the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets an option for the element -public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an option if present -public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets options for the element -public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the options for the element -public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element label -public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element label -public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Generate the HTML to label the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default value in case the form does not use an entity or there is no value available for the element in _POST -public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default value assigned to the element -public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element value -public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the messages that belongs to the element The element needs to be attached to a form -public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Checks whether there are messages attached to the element -public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the validation messages related to the element -public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Appends a message to the internal message list -public **clear** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **clear** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Clears every element in the form to its default value -public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Magic method __toString renders the widget without attributes \ No newline at end of file diff --git a/fr/api/Phalcon_Forms_Element_Email.md b/fr/api/Phalcon_Forms_Element_Email.md index 46e6c4dd0910..e732f646f360 100644 --- a/fr/api/Phalcon_Forms_Element_Email.md +++ b/fr/api/Phalcon_Forms_Element_Email.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Forms\\Element\\Email** -*extends* abstract class [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +*extends* abstract class [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) -*implements* [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) +*implements* [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) Source on GitHub @@ -14,130 +14,130 @@ public **render** ([*array* $attributes]) Renders the element widget returning html -public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Phalcon\\Forms\\Element constructor -public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the parent form to the element -public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the parent form to the element -public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element name -public **getName** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getName** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element name -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element filters -public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a filter to current list of filters -public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element filters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a group of validators -public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a validator to the element -public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the validators registered for the element -public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns an array of prepared attributes for Phalcon\\Tag helpers according to the element parameters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default attribute for the element -public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an attribute if present -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets default attributes for the element -public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default attributes for the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets an option for the element -public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an option if present -public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets options for the element -public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the options for the element -public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element label -public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element label -public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Generate the HTML to label the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default value in case the form does not use an entity or there is no value available for the element in _POST -public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default value assigned to the element -public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element value -public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the messages that belongs to the element The element needs to be attached to a form -public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Checks whether there are messages attached to the element -public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the validation messages related to the element -public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Appends a message to the internal message list -public **clear** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **clear** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Clears every element in the form to its default value -public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Magic method __toString renders the widget without attributes \ No newline at end of file diff --git a/fr/api/Phalcon_Forms_Element_File.md b/fr/api/Phalcon_Forms_Element_File.md index 04fceec03b0d..b81797926b6f 100644 --- a/fr/api/Phalcon_Forms_Element_File.md +++ b/fr/api/Phalcon_Forms_Element_File.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Forms\\Element\\File** -*extends* abstract class [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +*extends* abstract class [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) -*implements* [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) +*implements* [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) Source on GitHub @@ -14,130 +14,130 @@ public **render** ([*array* $attributes]) Renders the element widget returning html -public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Phalcon\\Forms\\Element constructor -public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the parent form to the element -public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the parent form to the element -public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element name -public **getName** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getName** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element name -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element filters -public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a filter to current list of filters -public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element filters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a group of validators -public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a validator to the element -public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the validators registered for the element -public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns an array of prepared attributes for Phalcon\\Tag helpers according to the element parameters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default attribute for the element -public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an attribute if present -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets default attributes for the element -public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default attributes for the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets an option for the element -public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an option if present -public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets options for the element -public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the options for the element -public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element label -public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element label -public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Generate the HTML to label the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default value in case the form does not use an entity or there is no value available for the element in _POST -public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default value assigned to the element -public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element value -public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the messages that belongs to the element The element needs to be attached to a form -public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Checks whether there are messages attached to the element -public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the validation messages related to the element -public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Appends a message to the internal message list -public **clear** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **clear** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Clears every element in the form to its default value -public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Magic method __toString renders the widget without attributes \ No newline at end of file diff --git a/fr/api/Phalcon_Forms_Element_Hidden.md b/fr/api/Phalcon_Forms_Element_Hidden.md index 317e3fe554b8..91457ea53c89 100644 --- a/fr/api/Phalcon_Forms_Element_Hidden.md +++ b/fr/api/Phalcon_Forms_Element_Hidden.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Forms\\Element\\Hidden** -*extends* abstract class [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +*extends* abstract class [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) -*implements* [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) +*implements* [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) Source on GitHub @@ -14,130 +14,130 @@ public **render** ([*array* $attributes]) Renders the element widget returning html -public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Phalcon\\Forms\\Element constructor -public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the parent form to the element -public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the parent form to the element -public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element name -public **getName** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getName** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element name -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element filters -public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a filter to current list of filters -public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element filters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a group of validators -public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a validator to the element -public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the validators registered for the element -public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns an array of prepared attributes for Phalcon\\Tag helpers according to the element parameters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default attribute for the element -public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an attribute if present -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets default attributes for the element -public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default attributes for the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets an option for the element -public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an option if present -public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets options for the element -public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the options for the element -public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element label -public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element label -public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Generate the HTML to label the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default value in case the form does not use an entity or there is no value available for the element in _POST -public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default value assigned to the element -public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element value -public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the messages that belongs to the element The element needs to be attached to a form -public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Checks whether there are messages attached to the element -public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the validation messages related to the element -public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Appends a message to the internal message list -public **clear** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **clear** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Clears every element in the form to its default value -public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Magic method __toString renders the widget without attributes \ No newline at end of file diff --git a/fr/api/Phalcon_Forms_Element_Numeric.md b/fr/api/Phalcon_Forms_Element_Numeric.md index 1b13ae0d294f..cd365f3c022b 100644 --- a/fr/api/Phalcon_Forms_Element_Numeric.md +++ b/fr/api/Phalcon_Forms_Element_Numeric.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Forms\\Element\\Numeric** -*extends* abstract class [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +*extends* abstract class [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) -*implements* [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) +*implements* [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) Source on GitHub @@ -14,130 +14,130 @@ public **render** ([*array* $attributes]) Renders the element widget returning html -public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Phalcon\\Forms\\Element constructor -public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the parent form to the element -public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the parent form to the element -public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element name -public **getName** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getName** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element name -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element filters -public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a filter to current list of filters -public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element filters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a group of validators -public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a validator to the element -public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the validators registered for the element -public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns an array of prepared attributes for Phalcon\\Tag helpers according to the element parameters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default attribute for the element -public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an attribute if present -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets default attributes for the element -public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default attributes for the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets an option for the element -public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an option if present -public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets options for the element -public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the options for the element -public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element label -public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element label -public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Generate the HTML to label the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default value in case the form does not use an entity or there is no value available for the element in _POST -public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default value assigned to the element -public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element value -public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the messages that belongs to the element The element needs to be attached to a form -public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Checks whether there are messages attached to the element -public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the validation messages related to the element -public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Appends a message to the internal message list -public **clear** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **clear** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Clears every element in the form to its default value -public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Magic method __toString renders the widget without attributes \ No newline at end of file diff --git a/hr/api/Phalcon_Cli_Router_Route.md b/hr/api/Phalcon_Cli_Router_Route.md index 73e76009acee..290d5404abd8 100644 --- a/hr/api/Phalcon_Cli_Router_Route.md +++ b/hr/api/Phalcon_Cli_Router_Route.md @@ -46,7 +46,7 @@ $router->add( ``` -public [Phalcon\Cli\Router\Route](/en/3.1.2/api/Phalcon_Cli_Router_Route) **beforeMatch** (*callback* $callback) +public [Phalcon\Cli\Router\Route](/en/3.2/api/Phalcon_Cli_Router_Route) **beforeMatch** (*callback* $callback) Sets a callback that is called if the route is matched. The developer can implement any arbitrary conditions here If the callback returns false the route is treated as not matched @@ -74,7 +74,7 @@ public **getReversedPaths** () Returns the paths using positions as keys and names as values -public [Phalcon\Cli\Router\Route](/en/3.1.2/api/Phalcon_Cli_Router_Route) **convert** (*string* $name, *callable* $converter) +public [Phalcon\Cli\Router\Route](/en/3.2/api/Phalcon_Cli_Router_Route) **convert** (*string* $name, *callable* $converter) Adds a converter to perform an additional transformation for certain parameter diff --git a/hr/api/Phalcon_Cli_Task.md b/hr/api/Phalcon_Cli_Task.md index 4090d0b7bf55..15624d08810c 100644 --- a/hr/api/Phalcon_Cli_Task.md +++ b/hr/api/Phalcon_Cli_Task.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cli\\Task** -*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), [Phalcon\Cli\TaskInterface](/en/3.1.2/api/Phalcon_Cli_TaskInterface) +*implements* [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\Cli\TaskInterface](/en/3.2/api/Phalcon_Cli_TaskInterface) Source on GitHub @@ -35,22 +35,22 @@ final public **__construct** () Phalcon\\Cli\\Task constructor -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 **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Sets the event manager -public **getEventsManager** () inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **getEventsManager** () inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Returns the internal event manager -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_Config.md b/hr/api/Phalcon_Config.md index 55a3611a9d38..7b972faed1f5 100644 --- a/hr/api/Phalcon_Config.md +++ b/hr/api/Phalcon_Config.md @@ -28,6 +28,10 @@ $config = new \Phalcon\Config( ``` +## Constants + +*string* **DEFAULT_PATH_DELIMITER** + ## Methods public **__construct** ([*array* $arrayConfig]) @@ -47,6 +51,17 @@ var_dump( ``` +public **path** (*mixed* $path, [*mixed* $defaultValue], [*mixed* $delimiter]) + +Returns a value from current config using a dot separated path. + +```php +path("unknown.path", "default", "."); + +``` + public **get** (*mixed* $index, [*mixed* $defaultValue]) Gets an attribute from the configuration, if the attribute isn't defined returns null If the value is exactly null or is not defined the default value will be used instead @@ -95,7 +110,7 @@ unset($config["database"]); ``` -public **merge** ([Phalcon\Config](/en/3.1.2/api/Phalcon_Config) $config) +public **merge** ([Phalcon\Config](/en/3.2/api/Phalcon_Config) $config) Merges a configuration into the current one @@ -151,6 +166,14 @@ public static **__set_state** (*array* $data) Restores the state of a Phalcon\\Config object +public static **setPathDelimiter** ([*mixed* $delimiter]) + +Sets the default path delimiter + +public static **getPathDelimiter** () + +Gets the default path delimiter + final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) Helper method for merge configs (forwarding nested config instance) \ No newline at end of file diff --git a/hr/api/Phalcon_Config_Adapter_Ini.md b/hr/api/Phalcon_Config_Adapter_Ini.md index 8458550716fa..3576158bc75f 100644 --- a/hr/api/Phalcon_Config_Adapter_Ini.md +++ b/hr/api/Phalcon_Config_Adapter_Ini.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Config\\Adapter\\Ini** -*extends* class [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +*extends* class [Phalcon\Config](/en/3.2/api/Phalcon_Config) *implements* [Countable](http://php.net/manual/en/class.countable.php), [ArrayAccess](http://php.net/manual/en/class.arrayaccess.php) @@ -51,6 +51,10 @@ $config = new \Phalcon\Config\Adapter\Ini( ``` +## Constants + +*string* **DEFAULT_PATH_DELIMITER** + ## Methods public **__construct** (*mixed* $filePath, [*mixed* $mode]) @@ -81,7 +85,7 @@ protected **_cast** (*mixed* $ini) We have to cast values manually because parse_ini_file() has a poor implementation. -public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Allows to check whether an attribute is defined using the array-syntax @@ -94,7 +98,18 @@ var_dump( ``` -public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **path** (*mixed* $path, [*mixed* $defaultValue], [*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Returns a value from current config using a dot separated path. + +```php +path("unknown.path", "default", "."); + +``` + +public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute from the configuration, if the attribute isn't defined returns null If the value is exactly null or is not defined the default value will be used instead @@ -105,7 +120,7 @@ echo $config->get("controllersDir", "../app/controllers/"); ``` -public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute using the array-syntax @@ -118,7 +133,7 @@ print_r( ``` -public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Sets an attribute using the array-syntax @@ -131,7 +146,7 @@ $config["database"] = [ ``` -public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Unsets an attribute using the array-syntax @@ -142,7 +157,7 @@ unset($config["database"]); ``` -public **merge** ([Phalcon\Config](/en/3.1.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **merge** ([Phalcon\Config](/en/3.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Merges a configuration into the current one @@ -161,7 +176,7 @@ $globalConfig->merge($appConfig); ``` -public **toArray** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **toArray** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Converts recursively the object to an array @@ -174,7 +189,7 @@ print_r( ``` -public **count** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **count** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Returns the count of properties set in the config @@ -194,10 +209,18 @@ print $config->count(); ``` -public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Restores the state of a Phalcon\\Config object -final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **setPathDelimiter** ([*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Sets the default path delimiter + +public static **getPathDelimiter** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Gets the default path delimiter + +final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Helper method for merge configs (forwarding nested config instance) \ No newline at end of file diff --git a/hr/api/Phalcon_Config_Adapter_Json.md b/hr/api/Phalcon_Config_Adapter_Json.md index 37d4418b4241..860df550aee3 100644 --- a/hr/api/Phalcon_Config_Adapter_Json.md +++ b/hr/api/Phalcon_Config_Adapter_Json.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Config\\Adapter\\Json** -*extends* class [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +*extends* class [Phalcon\Config](/en/3.2/api/Phalcon_Config) *implements* [Countable](http://php.net/manual/en/class.countable.php), [ArrayAccess](http://php.net/manual/en/class.arrayaccess.php) @@ -29,13 +29,17 @@ echo $config->models->metadata; ``` +## Constants + +*string* **DEFAULT_PATH_DELIMITER** + ## Methods public **__construct** (*mixed* $filePath) Phalcon\\Config\\Adapter\\Json constructor -public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Allows to check whether an attribute is defined using the array-syntax @@ -48,7 +52,18 @@ var_dump( ``` -public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **path** (*mixed* $path, [*mixed* $defaultValue], [*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Returns a value from current config using a dot separated path. + +```php +path("unknown.path", "default", "."); + +``` + +public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute from the configuration, if the attribute isn't defined returns null If the value is exactly null or is not defined the default value will be used instead @@ -59,7 +74,7 @@ echo $config->get("controllersDir", "../app/controllers/"); ``` -public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute using the array-syntax @@ -72,7 +87,7 @@ print_r( ``` -public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Sets an attribute using the array-syntax @@ -85,7 +100,7 @@ $config["database"] = [ ``` -public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Unsets an attribute using the array-syntax @@ -96,7 +111,7 @@ unset($config["database"]); ``` -public **merge** ([Phalcon\Config](/en/3.1.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **merge** ([Phalcon\Config](/en/3.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Merges a configuration into the current one @@ -115,7 +130,7 @@ $globalConfig->merge($appConfig); ``` -public **toArray** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **toArray** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Converts recursively the object to an array @@ -128,7 +143,7 @@ print_r( ``` -public **count** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **count** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Returns the count of properties set in the config @@ -148,10 +163,18 @@ print $config->count(); ``` -public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Restores the state of a Phalcon\\Config object -final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **setPathDelimiter** ([*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Sets the default path delimiter + +public static **getPathDelimiter** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Gets the default path delimiter + +final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Helper method for merge configs (forwarding nested config instance) \ No newline at end of file diff --git a/hr/api/Phalcon_Config_Adapter_Php.md b/hr/api/Phalcon_Config_Adapter_Php.md index d2dbf0e51bc1..844d5a6cdd20 100644 --- a/hr/api/Phalcon_Config_Adapter_Php.md +++ b/hr/api/Phalcon_Config_Adapter_Php.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Config\\Adapter\\Php** -*extends* class [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +*extends* class [Phalcon\Config](/en/3.2/api/Phalcon_Config) *implements* [Countable](http://php.net/manual/en/class.countable.php), [ArrayAccess](http://php.net/manual/en/class.arrayaccess.php) @@ -44,13 +44,17 @@ echo $config->database->username; ``` +## Constants + +*string* **DEFAULT_PATH_DELIMITER** + ## Methods public **__construct** (*mixed* $filePath) Phalcon\\Config\\Adapter\\Php constructor -public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Allows to check whether an attribute is defined using the array-syntax @@ -63,7 +67,18 @@ var_dump( ``` -public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **path** (*mixed* $path, [*mixed* $defaultValue], [*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Returns a value from current config using a dot separated path. + +```php +path("unknown.path", "default", "."); + +``` + +public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute from the configuration, if the attribute isn't defined returns null If the value is exactly null or is not defined the default value will be used instead @@ -74,7 +89,7 @@ echo $config->get("controllersDir", "../app/controllers/"); ``` -public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute using the array-syntax @@ -87,7 +102,7 @@ print_r( ``` -public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Sets an attribute using the array-syntax @@ -100,7 +115,7 @@ $config["database"] = [ ``` -public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Unsets an attribute using the array-syntax @@ -111,7 +126,7 @@ unset($config["database"]); ``` -public **merge** ([Phalcon\Config](/en/3.1.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **merge** ([Phalcon\Config](/en/3.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Merges a configuration into the current one @@ -130,7 +145,7 @@ $globalConfig->merge($appConfig); ``` -public **toArray** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **toArray** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Converts recursively the object to an array @@ -143,7 +158,7 @@ print_r( ``` -public **count** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **count** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Returns the count of properties set in the config @@ -163,10 +178,18 @@ print $config->count(); ``` -public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Restores the state of a Phalcon\\Config object -final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **setPathDelimiter** ([*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Sets the default path delimiter + +public static **getPathDelimiter** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Gets the default path delimiter + +final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Helper method for merge configs (forwarding nested config instance) \ No newline at end of file diff --git a/hr/api/Phalcon_Config_Adapter_Yaml.md b/hr/api/Phalcon_Config_Adapter_Yaml.md index a63e7a518e4d..1955bc04918c 100644 --- a/hr/api/Phalcon_Config_Adapter_Yaml.md +++ b/hr/api/Phalcon_Config_Adapter_Yaml.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Config\\Adapter\\Yaml** -*extends* class [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +*extends* class [Phalcon\Config](/en/3.2/api/Phalcon_Config) *implements* [Countable](http://php.net/manual/en/class.countable.php), [ArrayAccess](http://php.net/manual/en/class.arrayaccess.php) @@ -46,13 +46,17 @@ echo $config->models->metadata; ``` +## Constants + +*string* **DEFAULT_PATH_DELIMITER** + ## Methods public **__construct** (*mixed* $filePath, [*array* $callbacks]) Phalcon\\Config\\Adapter\\Yaml constructor -public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Allows to check whether an attribute is defined using the array-syntax @@ -65,7 +69,18 @@ var_dump( ``` -public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **path** (*mixed* $path, [*mixed* $defaultValue], [*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Returns a value from current config using a dot separated path. + +```php +path("unknown.path", "default", "."); + +``` + +public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute from the configuration, if the attribute isn't defined returns null If the value is exactly null or is not defined the default value will be used instead @@ -76,7 +91,7 @@ echo $config->get("controllersDir", "../app/controllers/"); ``` -public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute using the array-syntax @@ -89,7 +104,7 @@ print_r( ``` -public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Sets an attribute using the array-syntax @@ -102,7 +117,7 @@ $config["database"] = [ ``` -public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Unsets an attribute using the array-syntax @@ -113,7 +128,7 @@ unset($config["database"]); ``` -public **merge** ([Phalcon\Config](/en/3.1.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **merge** ([Phalcon\Config](/en/3.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Merges a configuration into the current one @@ -132,7 +147,7 @@ $globalConfig->merge($appConfig); ``` -public **toArray** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **toArray** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Converts recursively the object to an array @@ -145,7 +160,7 @@ print_r( ``` -public **count** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **count** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Returns the count of properties set in the config @@ -165,10 +180,18 @@ print $config->count(); ``` -public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Restores the state of a Phalcon\\Config object -final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **setPathDelimiter** ([*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Sets the default path delimiter + +public static **getPathDelimiter** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Gets the default path delimiter + +final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Helper method for merge configs (forwarding nested config instance) \ No newline at end of file diff --git a/hr/api/Phalcon_Config_Exception.md b/hr/api/Phalcon_Config_Exception.md index fe180ca140c2..870c720975df 100644 --- a/hr/api/Phalcon_Config_Exception.md +++ b/hr/api/Phalcon_Config_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Config\\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_Crypt.md b/hr/api/Phalcon_Crypt.md index 02729550912f..348e1401a9a0 100644 --- a/hr/api/Phalcon_Crypt.md +++ b/hr/api/Phalcon_Crypt.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Crypt** -*implements* [Phalcon\CryptInterface](/en/3.1.2/api/Phalcon_CryptInterface) +*implements* [Phalcon\CryptInterface](/en/3.2/api/Phalcon_CryptInterface) Source on GitHub diff --git a/hr/api/Phalcon_Crypt_Exception.md b/hr/api/Phalcon_Crypt_Exception.md index 677b1db3e78e..ea2a2af5ed7e 100644 --- a/hr/api/Phalcon_Crypt_Exception.md +++ b/hr/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/hr/api/Phalcon_Flash.md b/hr/api/Phalcon_Flash.md index 46db08bba6b6..fab60ddca1fb 100644 --- a/hr/api/Phalcon_Flash.md +++ b/hr/api/Phalcon_Flash.md @@ -1,6 +1,6 @@ # Abstract class **Phalcon\\Flash** -*implements* [Phalcon\FlashInterface](/en/3.1.2/api/Phalcon_FlashInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.1.2/api/Phalcon_Di_InjectionAwareInterface) +*implements* [Phalcon\FlashInterface](/en/3.2/api/Phalcon_FlashInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface) Source on GitHub @@ -32,11 +32,11 @@ public **getEscaperService** () Returns the Escaper Service -public **setEscaperService** ([Phalcon\EscaperInterface](/en/3.1.2/api/Phalcon_EscaperInterface) $escaperService) +public **setEscaperService** ([Phalcon\EscaperInterface](/en/3.2/api/Phalcon_EscaperInterface) $escaperService) Sets the Escaper Service -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 @@ -115,6 +115,6 @@ public **clear** () Clears accumulated messages when implicit flush is disabled -abstract public **message** (*mixed* $type, *mixed* $message) inherited from [Phalcon\FlashInterface](/en/3.1.2/api/Phalcon_FlashInterface) +abstract public **message** (*mixed* $type, *mixed* $message) inherited from [Phalcon\FlashInterface](/en/3.2/api/Phalcon_FlashInterface) ... \ No newline at end of file diff --git a/hr/api/Phalcon_Flash_Direct.md b/hr/api/Phalcon_Flash_Direct.md index 5563e108b68e..9b8045cf2a4e 100644 --- a/hr/api/Phalcon_Flash_Direct.md +++ b/hr/api/Phalcon_Flash_Direct.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Flash\\Direct** -*extends* abstract class [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +*extends* abstract class [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) -*implements* [Phalcon\Di\InjectionAwareInterface](/en/3.1.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\FlashInterface](/en/3.1.2/api/Phalcon_FlashInterface) +*implements* [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\FlashInterface](/en/3.2/api/Phalcon_FlashInterface) Source on GitHub @@ -18,47 +18,47 @@ public **output** ([*mixed* $remove]) Prints the messages accumulated in the flasher -public **__construct** ([*mixed* $cssClasses]) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **__construct** ([*mixed* $cssClasses]) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Phalcon\\Flash constructor -public **getAutoescape** () inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **getAutoescape** () inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Returns the autoescape mode in generated html -public **setAutoescape** (*mixed* $autoescape) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **setAutoescape** (*mixed* $autoescape) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Set the autoescape mode in generated html -public **getEscaperService** () inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **getEscaperService** () inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Returns the Escaper Service -public **setEscaperService** ([Phalcon\EscaperInterface](/en/3.1.2/api/Phalcon_EscaperInterface) $escaperService) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **setEscaperService** ([Phalcon\EscaperInterface](/en/3.2/api/Phalcon_EscaperInterface) $escaperService) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Sets the Escaper Service -public **setDI** ([Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **setDI** ([Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Sets the dependency injector -public **getDI** () inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **getDI** () inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Returns the internal dependency injector -public **setImplicitFlush** (*mixed* $implicitFlush) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **setImplicitFlush** (*mixed* $implicitFlush) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Set whether the output must be implicitly flushed to the output or returned as string -public **setAutomaticHtml** (*mixed* $automaticHtml) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **setAutomaticHtml** (*mixed* $automaticHtml) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Set if the output must be implicitly formatted with HTML -public **setCssClasses** (*array* $cssClasses) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **setCssClasses** (*array* $cssClasses) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Set an array with CSS classes to format the messages -public **error** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **error** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Shows a HTML error message @@ -69,7 +69,7 @@ $flash->error("This is an error"); ``` -public **notice** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **notice** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Shows a HTML notice/information message @@ -80,7 +80,7 @@ $flash->notice("This is an information"); ``` -public **success** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **success** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Shows a HTML success message @@ -91,7 +91,7 @@ $flash->success("The process was finished successfully"); ``` -public **warning** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **warning** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Shows a HTML warning message @@ -102,7 +102,7 @@ $flash->warning("Hey, this is important"); ``` -public *string* | *void* **outputMessage** (*mixed* $type, *string* | *array* $message) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public *string* | *void* **outputMessage** (*mixed* $type, *string* | *array* $message) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Outputs a message formatting it with HTML @@ -113,6 +113,6 @@ $flash->outputMessage("error", $message); ``` -public **clear** () inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **clear** () inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Clears accumulated messages when implicit flush is disabled \ No newline at end of file diff --git a/hr/api/Phalcon_Forms_ElementInterface.md b/hr/api/Phalcon_Forms_ElementInterface.md index bde079440bdc..8108787311a9 100644 --- a/hr/api/Phalcon_Forms_ElementInterface.md +++ b/hr/api/Phalcon_Forms_ElementInterface.md @@ -4,7 +4,7 @@ ## Methods -abstract public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) +abstract public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) ... @@ -36,7 +36,7 @@ abstract public **addValidators** (*array* $validators, [*mixed* $merge]) ... -abstract public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) +abstract public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) ... @@ -112,11 +112,11 @@ abstract public **hasMessages** () ... -abstract public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) +abstract public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) ... -abstract public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) +abstract public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) ... diff --git a/hr/api/Phalcon_Forms_Element_Check.md b/hr/api/Phalcon_Forms_Element_Check.md index f7f53cada4b4..320a3d0b2bed 100644 --- a/hr/api/Phalcon_Forms_Element_Check.md +++ b/hr/api/Phalcon_Forms_Element_Check.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Forms\\Element\\Check** -*extends* abstract class [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +*extends* abstract class [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) -*implements* [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) +*implements* [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) Source on GitHub @@ -14,130 +14,130 @@ public **render** ([*array* $attributes]) Renders the element widget returning html -public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Phalcon\\Forms\\Element constructor -public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the parent form to the element -public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the parent form to the element -public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element name -public **getName** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getName** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element name -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element filters -public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a filter to current list of filters -public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element filters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a group of validators -public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a validator to the element -public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the validators registered for the element -public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns an array of prepared attributes for Phalcon\\Tag helpers according to the element parameters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default attribute for the element -public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an attribute if present -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets default attributes for the element -public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default attributes for the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets an option for the element -public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an option if present -public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets options for the element -public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the options for the element -public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element label -public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element label -public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Generate the HTML to label the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default value in case the form does not use an entity or there is no value available for the element in _POST -public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default value assigned to the element -public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element value -public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the messages that belongs to the element The element needs to be attached to a form -public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Checks whether there are messages attached to the element -public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the validation messages related to the element -public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Appends a message to the internal message list -public **clear** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **clear** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Clears every element in the form to its default value -public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Magic method __toString renders the widget without attributes \ No newline at end of file diff --git a/hr/api/Phalcon_Forms_Element_Date.md b/hr/api/Phalcon_Forms_Element_Date.md index 9bdd42965358..701a6b5ffe81 100644 --- a/hr/api/Phalcon_Forms_Element_Date.md +++ b/hr/api/Phalcon_Forms_Element_Date.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Forms\\Element\\Date** -*extends* abstract class [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +*extends* abstract class [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) -*implements* [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) +*implements* [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) Source on GitHub @@ -14,130 +14,130 @@ public **render** ([*array* $attributes]) Renders the element widget returning html -public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Phalcon\\Forms\\Element constructor -public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the parent form to the element -public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the parent form to the element -public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element name -public **getName** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getName** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element name -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element filters -public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a filter to current list of filters -public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element filters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a group of validators -public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a validator to the element -public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the validators registered for the element -public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns an array of prepared attributes for Phalcon\\Tag helpers according to the element parameters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default attribute for the element -public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an attribute if present -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets default attributes for the element -public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default attributes for the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets an option for the element -public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an option if present -public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets options for the element -public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the options for the element -public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element label -public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element label -public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Generate the HTML to label the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default value in case the form does not use an entity or there is no value available for the element in _POST -public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default value assigned to the element -public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element value -public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the messages that belongs to the element The element needs to be attached to a form -public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Checks whether there are messages attached to the element -public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the validation messages related to the element -public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Appends a message to the internal message list -public **clear** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **clear** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Clears every element in the form to its default value -public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Magic method __toString renders the widget without attributes \ No newline at end of file diff --git a/hr/api/Phalcon_Forms_Element_Email.md b/hr/api/Phalcon_Forms_Element_Email.md index 46e6c4dd0910..e732f646f360 100644 --- a/hr/api/Phalcon_Forms_Element_Email.md +++ b/hr/api/Phalcon_Forms_Element_Email.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Forms\\Element\\Email** -*extends* abstract class [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +*extends* abstract class [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) -*implements* [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) +*implements* [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) Source on GitHub @@ -14,130 +14,130 @@ public **render** ([*array* $attributes]) Renders the element widget returning html -public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Phalcon\\Forms\\Element constructor -public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the parent form to the element -public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the parent form to the element -public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element name -public **getName** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getName** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element name -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element filters -public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a filter to current list of filters -public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element filters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a group of validators -public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a validator to the element -public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the validators registered for the element -public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns an array of prepared attributes for Phalcon\\Tag helpers according to the element parameters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default attribute for the element -public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an attribute if present -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets default attributes for the element -public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default attributes for the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets an option for the element -public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an option if present -public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets options for the element -public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the options for the element -public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element label -public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element label -public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Generate the HTML to label the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default value in case the form does not use an entity or there is no value available for the element in _POST -public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default value assigned to the element -public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element value -public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the messages that belongs to the element The element needs to be attached to a form -public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Checks whether there are messages attached to the element -public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the validation messages related to the element -public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Appends a message to the internal message list -public **clear** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **clear** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Clears every element in the form to its default value -public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Magic method __toString renders the widget without attributes \ No newline at end of file diff --git a/hr/api/Phalcon_Forms_Element_File.md b/hr/api/Phalcon_Forms_Element_File.md index 04fceec03b0d..b81797926b6f 100644 --- a/hr/api/Phalcon_Forms_Element_File.md +++ b/hr/api/Phalcon_Forms_Element_File.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Forms\\Element\\File** -*extends* abstract class [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +*extends* abstract class [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) -*implements* [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) +*implements* [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) Source on GitHub @@ -14,130 +14,130 @@ public **render** ([*array* $attributes]) Renders the element widget returning html -public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Phalcon\\Forms\\Element constructor -public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the parent form to the element -public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the parent form to the element -public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element name -public **getName** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getName** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element name -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element filters -public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a filter to current list of filters -public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element filters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a group of validators -public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a validator to the element -public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the validators registered for the element -public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns an array of prepared attributes for Phalcon\\Tag helpers according to the element parameters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default attribute for the element -public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an attribute if present -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets default attributes for the element -public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default attributes for the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets an option for the element -public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an option if present -public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets options for the element -public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the options for the element -public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element label -public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element label -public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Generate the HTML to label the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default value in case the form does not use an entity or there is no value available for the element in _POST -public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default value assigned to the element -public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element value -public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the messages that belongs to the element The element needs to be attached to a form -public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Checks whether there are messages attached to the element -public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the validation messages related to the element -public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Appends a message to the internal message list -public **clear** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **clear** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Clears every element in the form to its default value -public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Magic method __toString renders the widget without attributes \ No newline at end of file diff --git a/hr/api/Phalcon_Forms_Element_Hidden.md b/hr/api/Phalcon_Forms_Element_Hidden.md index 317e3fe554b8..91457ea53c89 100644 --- a/hr/api/Phalcon_Forms_Element_Hidden.md +++ b/hr/api/Phalcon_Forms_Element_Hidden.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Forms\\Element\\Hidden** -*extends* abstract class [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +*extends* abstract class [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) -*implements* [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) +*implements* [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) Source on GitHub @@ -14,130 +14,130 @@ public **render** ([*array* $attributes]) Renders the element widget returning html -public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Phalcon\\Forms\\Element constructor -public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the parent form to the element -public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the parent form to the element -public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element name -public **getName** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getName** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element name -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element filters -public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a filter to current list of filters -public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element filters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a group of validators -public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a validator to the element -public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the validators registered for the element -public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns an array of prepared attributes for Phalcon\\Tag helpers according to the element parameters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default attribute for the element -public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an attribute if present -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets default attributes for the element -public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default attributes for the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets an option for the element -public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an option if present -public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets options for the element -public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the options for the element -public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element label -public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element label -public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Generate the HTML to label the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default value in case the form does not use an entity or there is no value available for the element in _POST -public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default value assigned to the element -public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element value -public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the messages that belongs to the element The element needs to be attached to a form -public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Checks whether there are messages attached to the element -public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the validation messages related to the element -public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Appends a message to the internal message list -public **clear** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **clear** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Clears every element in the form to its default value -public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Magic method __toString renders the widget without attributes \ No newline at end of file diff --git a/hr/api/Phalcon_Forms_Element_Numeric.md b/hr/api/Phalcon_Forms_Element_Numeric.md index 1b13ae0d294f..cd365f3c022b 100644 --- a/hr/api/Phalcon_Forms_Element_Numeric.md +++ b/hr/api/Phalcon_Forms_Element_Numeric.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Forms\\Element\\Numeric** -*extends* abstract class [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +*extends* abstract class [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) -*implements* [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) +*implements* [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) Source on GitHub @@ -14,130 +14,130 @@ public **render** ([*array* $attributes]) Renders the element widget returning html -public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Phalcon\\Forms\\Element constructor -public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the parent form to the element -public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the parent form to the element -public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element name -public **getName** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getName** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element name -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element filters -public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a filter to current list of filters -public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element filters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a group of validators -public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a validator to the element -public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the validators registered for the element -public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns an array of prepared attributes for Phalcon\\Tag helpers according to the element parameters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default attribute for the element -public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an attribute if present -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets default attributes for the element -public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default attributes for the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets an option for the element -public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an option if present -public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets options for the element -public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the options for the element -public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element label -public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element label -public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Generate the HTML to label the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default value in case the form does not use an entity or there is no value available for the element in _POST -public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default value assigned to the element -public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element value -public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the messages that belongs to the element The element needs to be attached to a form -public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Checks whether there are messages attached to the element -public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the validation messages related to the element -public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Appends a message to the internal message list -public **clear** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **clear** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Clears every element in the form to its default value -public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Magic method __toString renders the widget without attributes \ No newline at end of file diff --git a/hu/api/Phalcon_Cli_Router_Route.md b/hu/api/Phalcon_Cli_Router_Route.md index 73e76009acee..290d5404abd8 100644 --- a/hu/api/Phalcon_Cli_Router_Route.md +++ b/hu/api/Phalcon_Cli_Router_Route.md @@ -46,7 +46,7 @@ $router->add( ``` -public [Phalcon\Cli\Router\Route](/en/3.1.2/api/Phalcon_Cli_Router_Route) **beforeMatch** (*callback* $callback) +public [Phalcon\Cli\Router\Route](/en/3.2/api/Phalcon_Cli_Router_Route) **beforeMatch** (*callback* $callback) Sets a callback that is called if the route is matched. The developer can implement any arbitrary conditions here If the callback returns false the route is treated as not matched @@ -74,7 +74,7 @@ public **getReversedPaths** () Returns the paths using positions as keys and names as values -public [Phalcon\Cli\Router\Route](/en/3.1.2/api/Phalcon_Cli_Router_Route) **convert** (*string* $name, *callable* $converter) +public [Phalcon\Cli\Router\Route](/en/3.2/api/Phalcon_Cli_Router_Route) **convert** (*string* $name, *callable* $converter) Adds a converter to perform an additional transformation for certain parameter diff --git a/hu/api/Phalcon_Cli_Task.md b/hu/api/Phalcon_Cli_Task.md index 4090d0b7bf55..15624d08810c 100644 --- a/hu/api/Phalcon_Cli_Task.md +++ b/hu/api/Phalcon_Cli_Task.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cli\\Task** -*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), [Phalcon\Cli\TaskInterface](/en/3.1.2/api/Phalcon_Cli_TaskInterface) +*implements* [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\Cli\TaskInterface](/en/3.2/api/Phalcon_Cli_TaskInterface) Source on GitHub @@ -35,22 +35,22 @@ final public **__construct** () Phalcon\\Cli\\Task constructor -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 **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Sets the event manager -public **getEventsManager** () inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **getEventsManager** () inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Returns the internal event manager -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_Config.md b/hu/api/Phalcon_Config.md index 55a3611a9d38..7b972faed1f5 100644 --- a/hu/api/Phalcon_Config.md +++ b/hu/api/Phalcon_Config.md @@ -28,6 +28,10 @@ $config = new \Phalcon\Config( ``` +## Constants + +*string* **DEFAULT_PATH_DELIMITER** + ## Methods public **__construct** ([*array* $arrayConfig]) @@ -47,6 +51,17 @@ var_dump( ``` +public **path** (*mixed* $path, [*mixed* $defaultValue], [*mixed* $delimiter]) + +Returns a value from current config using a dot separated path. + +```php +path("unknown.path", "default", "."); + +``` + public **get** (*mixed* $index, [*mixed* $defaultValue]) Gets an attribute from the configuration, if the attribute isn't defined returns null If the value is exactly null or is not defined the default value will be used instead @@ -95,7 +110,7 @@ unset($config["database"]); ``` -public **merge** ([Phalcon\Config](/en/3.1.2/api/Phalcon_Config) $config) +public **merge** ([Phalcon\Config](/en/3.2/api/Phalcon_Config) $config) Merges a configuration into the current one @@ -151,6 +166,14 @@ public static **__set_state** (*array* $data) Restores the state of a Phalcon\\Config object +public static **setPathDelimiter** ([*mixed* $delimiter]) + +Sets the default path delimiter + +public static **getPathDelimiter** () + +Gets the default path delimiter + final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) Helper method for merge configs (forwarding nested config instance) \ No newline at end of file diff --git a/hu/api/Phalcon_Config_Adapter_Ini.md b/hu/api/Phalcon_Config_Adapter_Ini.md index 8458550716fa..3576158bc75f 100644 --- a/hu/api/Phalcon_Config_Adapter_Ini.md +++ b/hu/api/Phalcon_Config_Adapter_Ini.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Config\\Adapter\\Ini** -*extends* class [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +*extends* class [Phalcon\Config](/en/3.2/api/Phalcon_Config) *implements* [Countable](http://php.net/manual/en/class.countable.php), [ArrayAccess](http://php.net/manual/en/class.arrayaccess.php) @@ -51,6 +51,10 @@ $config = new \Phalcon\Config\Adapter\Ini( ``` +## Constants + +*string* **DEFAULT_PATH_DELIMITER** + ## Methods public **__construct** (*mixed* $filePath, [*mixed* $mode]) @@ -81,7 +85,7 @@ protected **_cast** (*mixed* $ini) We have to cast values manually because parse_ini_file() has a poor implementation. -public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Allows to check whether an attribute is defined using the array-syntax @@ -94,7 +98,18 @@ var_dump( ``` -public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **path** (*mixed* $path, [*mixed* $defaultValue], [*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Returns a value from current config using a dot separated path. + +```php +path("unknown.path", "default", "."); + +``` + +public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute from the configuration, if the attribute isn't defined returns null If the value is exactly null or is not defined the default value will be used instead @@ -105,7 +120,7 @@ echo $config->get("controllersDir", "../app/controllers/"); ``` -public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute using the array-syntax @@ -118,7 +133,7 @@ print_r( ``` -public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Sets an attribute using the array-syntax @@ -131,7 +146,7 @@ $config["database"] = [ ``` -public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Unsets an attribute using the array-syntax @@ -142,7 +157,7 @@ unset($config["database"]); ``` -public **merge** ([Phalcon\Config](/en/3.1.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **merge** ([Phalcon\Config](/en/3.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Merges a configuration into the current one @@ -161,7 +176,7 @@ $globalConfig->merge($appConfig); ``` -public **toArray** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **toArray** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Converts recursively the object to an array @@ -174,7 +189,7 @@ print_r( ``` -public **count** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **count** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Returns the count of properties set in the config @@ -194,10 +209,18 @@ print $config->count(); ``` -public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Restores the state of a Phalcon\\Config object -final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **setPathDelimiter** ([*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Sets the default path delimiter + +public static **getPathDelimiter** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Gets the default path delimiter + +final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Helper method for merge configs (forwarding nested config instance) \ No newline at end of file diff --git a/hu/api/Phalcon_Config_Adapter_Json.md b/hu/api/Phalcon_Config_Adapter_Json.md index 37d4418b4241..860df550aee3 100644 --- a/hu/api/Phalcon_Config_Adapter_Json.md +++ b/hu/api/Phalcon_Config_Adapter_Json.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Config\\Adapter\\Json** -*extends* class [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +*extends* class [Phalcon\Config](/en/3.2/api/Phalcon_Config) *implements* [Countable](http://php.net/manual/en/class.countable.php), [ArrayAccess](http://php.net/manual/en/class.arrayaccess.php) @@ -29,13 +29,17 @@ echo $config->models->metadata; ``` +## Constants + +*string* **DEFAULT_PATH_DELIMITER** + ## Methods public **__construct** (*mixed* $filePath) Phalcon\\Config\\Adapter\\Json constructor -public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Allows to check whether an attribute is defined using the array-syntax @@ -48,7 +52,18 @@ var_dump( ``` -public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **path** (*mixed* $path, [*mixed* $defaultValue], [*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Returns a value from current config using a dot separated path. + +```php +path("unknown.path", "default", "."); + +``` + +public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute from the configuration, if the attribute isn't defined returns null If the value is exactly null or is not defined the default value will be used instead @@ -59,7 +74,7 @@ echo $config->get("controllersDir", "../app/controllers/"); ``` -public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute using the array-syntax @@ -72,7 +87,7 @@ print_r( ``` -public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Sets an attribute using the array-syntax @@ -85,7 +100,7 @@ $config["database"] = [ ``` -public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Unsets an attribute using the array-syntax @@ -96,7 +111,7 @@ unset($config["database"]); ``` -public **merge** ([Phalcon\Config](/en/3.1.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **merge** ([Phalcon\Config](/en/3.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Merges a configuration into the current one @@ -115,7 +130,7 @@ $globalConfig->merge($appConfig); ``` -public **toArray** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **toArray** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Converts recursively the object to an array @@ -128,7 +143,7 @@ print_r( ``` -public **count** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **count** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Returns the count of properties set in the config @@ -148,10 +163,18 @@ print $config->count(); ``` -public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Restores the state of a Phalcon\\Config object -final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **setPathDelimiter** ([*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Sets the default path delimiter + +public static **getPathDelimiter** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Gets the default path delimiter + +final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Helper method for merge configs (forwarding nested config instance) \ No newline at end of file diff --git a/hu/api/Phalcon_Config_Adapter_Php.md b/hu/api/Phalcon_Config_Adapter_Php.md index d2dbf0e51bc1..844d5a6cdd20 100644 --- a/hu/api/Phalcon_Config_Adapter_Php.md +++ b/hu/api/Phalcon_Config_Adapter_Php.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Config\\Adapter\\Php** -*extends* class [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +*extends* class [Phalcon\Config](/en/3.2/api/Phalcon_Config) *implements* [Countable](http://php.net/manual/en/class.countable.php), [ArrayAccess](http://php.net/manual/en/class.arrayaccess.php) @@ -44,13 +44,17 @@ echo $config->database->username; ``` +## Constants + +*string* **DEFAULT_PATH_DELIMITER** + ## Methods public **__construct** (*mixed* $filePath) Phalcon\\Config\\Adapter\\Php constructor -public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Allows to check whether an attribute is defined using the array-syntax @@ -63,7 +67,18 @@ var_dump( ``` -public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **path** (*mixed* $path, [*mixed* $defaultValue], [*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Returns a value from current config using a dot separated path. + +```php +path("unknown.path", "default", "."); + +``` + +public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute from the configuration, if the attribute isn't defined returns null If the value is exactly null or is not defined the default value will be used instead @@ -74,7 +89,7 @@ echo $config->get("controllersDir", "../app/controllers/"); ``` -public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute using the array-syntax @@ -87,7 +102,7 @@ print_r( ``` -public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Sets an attribute using the array-syntax @@ -100,7 +115,7 @@ $config["database"] = [ ``` -public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Unsets an attribute using the array-syntax @@ -111,7 +126,7 @@ unset($config["database"]); ``` -public **merge** ([Phalcon\Config](/en/3.1.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **merge** ([Phalcon\Config](/en/3.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Merges a configuration into the current one @@ -130,7 +145,7 @@ $globalConfig->merge($appConfig); ``` -public **toArray** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **toArray** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Converts recursively the object to an array @@ -143,7 +158,7 @@ print_r( ``` -public **count** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **count** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Returns the count of properties set in the config @@ -163,10 +178,18 @@ print $config->count(); ``` -public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Restores the state of a Phalcon\\Config object -final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **setPathDelimiter** ([*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Sets the default path delimiter + +public static **getPathDelimiter** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Gets the default path delimiter + +final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Helper method for merge configs (forwarding nested config instance) \ No newline at end of file diff --git a/hu/api/Phalcon_Config_Adapter_Yaml.md b/hu/api/Phalcon_Config_Adapter_Yaml.md index a63e7a518e4d..1955bc04918c 100644 --- a/hu/api/Phalcon_Config_Adapter_Yaml.md +++ b/hu/api/Phalcon_Config_Adapter_Yaml.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Config\\Adapter\\Yaml** -*extends* class [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +*extends* class [Phalcon\Config](/en/3.2/api/Phalcon_Config) *implements* [Countable](http://php.net/manual/en/class.countable.php), [ArrayAccess](http://php.net/manual/en/class.arrayaccess.php) @@ -46,13 +46,17 @@ echo $config->models->metadata; ``` +## Constants + +*string* **DEFAULT_PATH_DELIMITER** + ## Methods public **__construct** (*mixed* $filePath, [*array* $callbacks]) Phalcon\\Config\\Adapter\\Yaml constructor -public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Allows to check whether an attribute is defined using the array-syntax @@ -65,7 +69,18 @@ var_dump( ``` -public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **path** (*mixed* $path, [*mixed* $defaultValue], [*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Returns a value from current config using a dot separated path. + +```php +path("unknown.path", "default", "."); + +``` + +public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute from the configuration, if the attribute isn't defined returns null If the value is exactly null or is not defined the default value will be used instead @@ -76,7 +91,7 @@ echo $config->get("controllersDir", "../app/controllers/"); ``` -public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute using the array-syntax @@ -89,7 +104,7 @@ print_r( ``` -public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Sets an attribute using the array-syntax @@ -102,7 +117,7 @@ $config["database"] = [ ``` -public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Unsets an attribute using the array-syntax @@ -113,7 +128,7 @@ unset($config["database"]); ``` -public **merge** ([Phalcon\Config](/en/3.1.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **merge** ([Phalcon\Config](/en/3.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Merges a configuration into the current one @@ -132,7 +147,7 @@ $globalConfig->merge($appConfig); ``` -public **toArray** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **toArray** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Converts recursively the object to an array @@ -145,7 +160,7 @@ print_r( ``` -public **count** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **count** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Returns the count of properties set in the config @@ -165,10 +180,18 @@ print $config->count(); ``` -public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Restores the state of a Phalcon\\Config object -final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **setPathDelimiter** ([*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Sets the default path delimiter + +public static **getPathDelimiter** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Gets the default path delimiter + +final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Helper method for merge configs (forwarding nested config instance) \ No newline at end of file diff --git a/hu/api/Phalcon_Config_Exception.md b/hu/api/Phalcon_Config_Exception.md index fe180ca140c2..870c720975df 100644 --- a/hu/api/Phalcon_Config_Exception.md +++ b/hu/api/Phalcon_Config_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Config\\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_Crypt.md b/hu/api/Phalcon_Crypt.md index 02729550912f..348e1401a9a0 100644 --- a/hu/api/Phalcon_Crypt.md +++ b/hu/api/Phalcon_Crypt.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Crypt** -*implements* [Phalcon\CryptInterface](/en/3.1.2/api/Phalcon_CryptInterface) +*implements* [Phalcon\CryptInterface](/en/3.2/api/Phalcon_CryptInterface) Source on GitHub diff --git a/hu/api/Phalcon_Crypt_Exception.md b/hu/api/Phalcon_Crypt_Exception.md index 677b1db3e78e..ea2a2af5ed7e 100644 --- a/hu/api/Phalcon_Crypt_Exception.md +++ b/hu/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/hu/api/Phalcon_Flash_Direct.md b/hu/api/Phalcon_Flash_Direct.md index 5563e108b68e..9b8045cf2a4e 100644 --- a/hu/api/Phalcon_Flash_Direct.md +++ b/hu/api/Phalcon_Flash_Direct.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Flash\\Direct** -*extends* abstract class [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +*extends* abstract class [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) -*implements* [Phalcon\Di\InjectionAwareInterface](/en/3.1.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\FlashInterface](/en/3.1.2/api/Phalcon_FlashInterface) +*implements* [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\FlashInterface](/en/3.2/api/Phalcon_FlashInterface) Source on GitHub @@ -18,47 +18,47 @@ public **output** ([*mixed* $remove]) Prints the messages accumulated in the flasher -public **__construct** ([*mixed* $cssClasses]) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **__construct** ([*mixed* $cssClasses]) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Phalcon\\Flash constructor -public **getAutoescape** () inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **getAutoescape** () inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Returns the autoescape mode in generated html -public **setAutoescape** (*mixed* $autoescape) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **setAutoescape** (*mixed* $autoescape) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Set the autoescape mode in generated html -public **getEscaperService** () inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **getEscaperService** () inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Returns the Escaper Service -public **setEscaperService** ([Phalcon\EscaperInterface](/en/3.1.2/api/Phalcon_EscaperInterface) $escaperService) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **setEscaperService** ([Phalcon\EscaperInterface](/en/3.2/api/Phalcon_EscaperInterface) $escaperService) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Sets the Escaper Service -public **setDI** ([Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **setDI** ([Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Sets the dependency injector -public **getDI** () inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **getDI** () inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Returns the internal dependency injector -public **setImplicitFlush** (*mixed* $implicitFlush) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **setImplicitFlush** (*mixed* $implicitFlush) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Set whether the output must be implicitly flushed to the output or returned as string -public **setAutomaticHtml** (*mixed* $automaticHtml) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **setAutomaticHtml** (*mixed* $automaticHtml) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Set if the output must be implicitly formatted with HTML -public **setCssClasses** (*array* $cssClasses) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **setCssClasses** (*array* $cssClasses) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Set an array with CSS classes to format the messages -public **error** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **error** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Shows a HTML error message @@ -69,7 +69,7 @@ $flash->error("This is an error"); ``` -public **notice** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **notice** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Shows a HTML notice/information message @@ -80,7 +80,7 @@ $flash->notice("This is an information"); ``` -public **success** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **success** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Shows a HTML success message @@ -91,7 +91,7 @@ $flash->success("The process was finished successfully"); ``` -public **warning** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **warning** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Shows a HTML warning message @@ -102,7 +102,7 @@ $flash->warning("Hey, this is important"); ``` -public *string* | *void* **outputMessage** (*mixed* $type, *string* | *array* $message) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public *string* | *void* **outputMessage** (*mixed* $type, *string* | *array* $message) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Outputs a message formatting it with HTML @@ -113,6 +113,6 @@ $flash->outputMessage("error", $message); ``` -public **clear** () inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **clear** () inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Clears accumulated messages when implicit flush is disabled \ No newline at end of file diff --git a/hu/api/Phalcon_Forms_ElementInterface.md b/hu/api/Phalcon_Forms_ElementInterface.md index bde079440bdc..8108787311a9 100644 --- a/hu/api/Phalcon_Forms_ElementInterface.md +++ b/hu/api/Phalcon_Forms_ElementInterface.md @@ -4,7 +4,7 @@ ## Methods -abstract public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) +abstract public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) ... @@ -36,7 +36,7 @@ abstract public **addValidators** (*array* $validators, [*mixed* $merge]) ... -abstract public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) +abstract public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) ... @@ -112,11 +112,11 @@ abstract public **hasMessages** () ... -abstract public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) +abstract public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) ... -abstract public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) +abstract public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) ... diff --git a/hu/api/Phalcon_Forms_Element_Check.md b/hu/api/Phalcon_Forms_Element_Check.md index f7f53cada4b4..320a3d0b2bed 100644 --- a/hu/api/Phalcon_Forms_Element_Check.md +++ b/hu/api/Phalcon_Forms_Element_Check.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Forms\\Element\\Check** -*extends* abstract class [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +*extends* abstract class [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) -*implements* [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) +*implements* [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) Source on GitHub @@ -14,130 +14,130 @@ public **render** ([*array* $attributes]) Renders the element widget returning html -public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Phalcon\\Forms\\Element constructor -public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the parent form to the element -public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the parent form to the element -public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element name -public **getName** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getName** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element name -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element filters -public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a filter to current list of filters -public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element filters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a group of validators -public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a validator to the element -public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the validators registered for the element -public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns an array of prepared attributes for Phalcon\\Tag helpers according to the element parameters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default attribute for the element -public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an attribute if present -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets default attributes for the element -public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default attributes for the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets an option for the element -public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an option if present -public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets options for the element -public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the options for the element -public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element label -public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element label -public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Generate the HTML to label the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default value in case the form does not use an entity or there is no value available for the element in _POST -public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default value assigned to the element -public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element value -public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the messages that belongs to the element The element needs to be attached to a form -public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Checks whether there are messages attached to the element -public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the validation messages related to the element -public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Appends a message to the internal message list -public **clear** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **clear** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Clears every element in the form to its default value -public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Magic method __toString renders the widget without attributes \ No newline at end of file diff --git a/hu/api/Phalcon_Forms_Element_Date.md b/hu/api/Phalcon_Forms_Element_Date.md index 9bdd42965358..701a6b5ffe81 100644 --- a/hu/api/Phalcon_Forms_Element_Date.md +++ b/hu/api/Phalcon_Forms_Element_Date.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Forms\\Element\\Date** -*extends* abstract class [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +*extends* abstract class [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) -*implements* [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) +*implements* [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) Source on GitHub @@ -14,130 +14,130 @@ public **render** ([*array* $attributes]) Renders the element widget returning html -public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Phalcon\\Forms\\Element constructor -public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the parent form to the element -public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the parent form to the element -public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element name -public **getName** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getName** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element name -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element filters -public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a filter to current list of filters -public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element filters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a group of validators -public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a validator to the element -public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the validators registered for the element -public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns an array of prepared attributes for Phalcon\\Tag helpers according to the element parameters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default attribute for the element -public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an attribute if present -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets default attributes for the element -public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default attributes for the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets an option for the element -public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an option if present -public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets options for the element -public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the options for the element -public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element label -public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element label -public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Generate the HTML to label the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default value in case the form does not use an entity or there is no value available for the element in _POST -public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default value assigned to the element -public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element value -public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the messages that belongs to the element The element needs to be attached to a form -public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Checks whether there are messages attached to the element -public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the validation messages related to the element -public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Appends a message to the internal message list -public **clear** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **clear** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Clears every element in the form to its default value -public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Magic method __toString renders the widget without attributes \ No newline at end of file diff --git a/hu/api/Phalcon_Forms_Element_Email.md b/hu/api/Phalcon_Forms_Element_Email.md index 46e6c4dd0910..e732f646f360 100644 --- a/hu/api/Phalcon_Forms_Element_Email.md +++ b/hu/api/Phalcon_Forms_Element_Email.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Forms\\Element\\Email** -*extends* abstract class [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +*extends* abstract class [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) -*implements* [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) +*implements* [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) Source on GitHub @@ -14,130 +14,130 @@ public **render** ([*array* $attributes]) Renders the element widget returning html -public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Phalcon\\Forms\\Element constructor -public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the parent form to the element -public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the parent form to the element -public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element name -public **getName** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getName** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element name -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element filters -public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a filter to current list of filters -public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element filters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a group of validators -public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a validator to the element -public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the validators registered for the element -public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns an array of prepared attributes for Phalcon\\Tag helpers according to the element parameters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default attribute for the element -public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an attribute if present -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets default attributes for the element -public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default attributes for the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets an option for the element -public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an option if present -public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets options for the element -public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the options for the element -public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element label -public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element label -public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Generate the HTML to label the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default value in case the form does not use an entity or there is no value available for the element in _POST -public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default value assigned to the element -public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element value -public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the messages that belongs to the element The element needs to be attached to a form -public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Checks whether there are messages attached to the element -public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the validation messages related to the element -public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Appends a message to the internal message list -public **clear** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **clear** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Clears every element in the form to its default value -public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Magic method __toString renders the widget without attributes \ No newline at end of file diff --git a/hu/api/Phalcon_Forms_Element_File.md b/hu/api/Phalcon_Forms_Element_File.md index 04fceec03b0d..b81797926b6f 100644 --- a/hu/api/Phalcon_Forms_Element_File.md +++ b/hu/api/Phalcon_Forms_Element_File.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Forms\\Element\\File** -*extends* abstract class [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +*extends* abstract class [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) -*implements* [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) +*implements* [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) Source on GitHub @@ -14,130 +14,130 @@ public **render** ([*array* $attributes]) Renders the element widget returning html -public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Phalcon\\Forms\\Element constructor -public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the parent form to the element -public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the parent form to the element -public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element name -public **getName** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getName** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element name -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element filters -public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a filter to current list of filters -public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element filters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a group of validators -public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a validator to the element -public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the validators registered for the element -public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns an array of prepared attributes for Phalcon\\Tag helpers according to the element parameters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default attribute for the element -public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an attribute if present -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets default attributes for the element -public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default attributes for the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets an option for the element -public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an option if present -public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets options for the element -public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the options for the element -public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element label -public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element label -public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Generate the HTML to label the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default value in case the form does not use an entity or there is no value available for the element in _POST -public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default value assigned to the element -public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element value -public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the messages that belongs to the element The element needs to be attached to a form -public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Checks whether there are messages attached to the element -public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the validation messages related to the element -public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Appends a message to the internal message list -public **clear** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **clear** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Clears every element in the form to its default value -public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Magic method __toString renders the widget without attributes \ No newline at end of file diff --git a/hu/api/Phalcon_Forms_Element_Hidden.md b/hu/api/Phalcon_Forms_Element_Hidden.md index 317e3fe554b8..91457ea53c89 100644 --- a/hu/api/Phalcon_Forms_Element_Hidden.md +++ b/hu/api/Phalcon_Forms_Element_Hidden.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Forms\\Element\\Hidden** -*extends* abstract class [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +*extends* abstract class [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) -*implements* [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) +*implements* [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) Source on GitHub @@ -14,130 +14,130 @@ public **render** ([*array* $attributes]) Renders the element widget returning html -public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Phalcon\\Forms\\Element constructor -public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the parent form to the element -public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the parent form to the element -public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element name -public **getName** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getName** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element name -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element filters -public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a filter to current list of filters -public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element filters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a group of validators -public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a validator to the element -public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the validators registered for the element -public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns an array of prepared attributes for Phalcon\\Tag helpers according to the element parameters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default attribute for the element -public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an attribute if present -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets default attributes for the element -public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default attributes for the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets an option for the element -public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an option if present -public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets options for the element -public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the options for the element -public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element label -public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element label -public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Generate the HTML to label the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default value in case the form does not use an entity or there is no value available for the element in _POST -public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default value assigned to the element -public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element value -public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the messages that belongs to the element The element needs to be attached to a form -public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Checks whether there are messages attached to the element -public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the validation messages related to the element -public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Appends a message to the internal message list -public **clear** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **clear** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Clears every element in the form to its default value -public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Magic method __toString renders the widget without attributes \ No newline at end of file diff --git a/hu/api/Phalcon_Forms_Element_Numeric.md b/hu/api/Phalcon_Forms_Element_Numeric.md index 1b13ae0d294f..cd365f3c022b 100644 --- a/hu/api/Phalcon_Forms_Element_Numeric.md +++ b/hu/api/Phalcon_Forms_Element_Numeric.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Forms\\Element\\Numeric** -*extends* abstract class [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +*extends* abstract class [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) -*implements* [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) +*implements* [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) Source on GitHub @@ -14,130 +14,130 @@ public **render** ([*array* $attributes]) Renders the element widget returning html -public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Phalcon\\Forms\\Element constructor -public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the parent form to the element -public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the parent form to the element -public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element name -public **getName** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getName** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element name -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element filters -public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a filter to current list of filters -public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element filters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a group of validators -public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a validator to the element -public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the validators registered for the element -public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns an array of prepared attributes for Phalcon\\Tag helpers according to the element parameters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default attribute for the element -public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an attribute if present -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets default attributes for the element -public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default attributes for the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets an option for the element -public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an option if present -public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets options for the element -public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the options for the element -public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element label -public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element label -public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Generate the HTML to label the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default value in case the form does not use an entity or there is no value available for the element in _POST -public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default value assigned to the element -public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element value -public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the messages that belongs to the element The element needs to be attached to a form -public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Checks whether there are messages attached to the element -public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the validation messages related to the element -public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Appends a message to the internal message list -public **clear** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **clear** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Clears every element in the form to its default value -public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Magic method __toString renders the widget without attributes \ No newline at end of file diff --git a/id/api/Phalcon_Cli_Router_Route.md b/id/api/Phalcon_Cli_Router_Route.md index 73e76009acee..290d5404abd8 100644 --- a/id/api/Phalcon_Cli_Router_Route.md +++ b/id/api/Phalcon_Cli_Router_Route.md @@ -46,7 +46,7 @@ $router->add( ``` -public [Phalcon\Cli\Router\Route](/en/3.1.2/api/Phalcon_Cli_Router_Route) **beforeMatch** (*callback* $callback) +public [Phalcon\Cli\Router\Route](/en/3.2/api/Phalcon_Cli_Router_Route) **beforeMatch** (*callback* $callback) Sets a callback that is called if the route is matched. The developer can implement any arbitrary conditions here If the callback returns false the route is treated as not matched @@ -74,7 +74,7 @@ public **getReversedPaths** () Returns the paths using positions as keys and names as values -public [Phalcon\Cli\Router\Route](/en/3.1.2/api/Phalcon_Cli_Router_Route) **convert** (*string* $name, *callable* $converter) +public [Phalcon\Cli\Router\Route](/en/3.2/api/Phalcon_Cli_Router_Route) **convert** (*string* $name, *callable* $converter) Adds a converter to perform an additional transformation for certain parameter diff --git a/id/api/Phalcon_Cli_Task.md b/id/api/Phalcon_Cli_Task.md index 4090d0b7bf55..15624d08810c 100644 --- a/id/api/Phalcon_Cli_Task.md +++ b/id/api/Phalcon_Cli_Task.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cli\\Task** -*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), [Phalcon\Cli\TaskInterface](/en/3.1.2/api/Phalcon_Cli_TaskInterface) +*implements* [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\Cli\TaskInterface](/en/3.2/api/Phalcon_Cli_TaskInterface) Source on GitHub @@ -35,22 +35,22 @@ final public **__construct** () Phalcon\\Cli\\Task constructor -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 **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Sets the event manager -public **getEventsManager** () inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **getEventsManager** () inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Returns the internal event manager -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_Config.md b/id/api/Phalcon_Config.md index 55a3611a9d38..7b972faed1f5 100644 --- a/id/api/Phalcon_Config.md +++ b/id/api/Phalcon_Config.md @@ -28,6 +28,10 @@ $config = new \Phalcon\Config( ``` +## Constants + +*string* **DEFAULT_PATH_DELIMITER** + ## Methods public **__construct** ([*array* $arrayConfig]) @@ -47,6 +51,17 @@ var_dump( ``` +public **path** (*mixed* $path, [*mixed* $defaultValue], [*mixed* $delimiter]) + +Returns a value from current config using a dot separated path. + +```php +path("unknown.path", "default", "."); + +``` + public **get** (*mixed* $index, [*mixed* $defaultValue]) Gets an attribute from the configuration, if the attribute isn't defined returns null If the value is exactly null or is not defined the default value will be used instead @@ -95,7 +110,7 @@ unset($config["database"]); ``` -public **merge** ([Phalcon\Config](/en/3.1.2/api/Phalcon_Config) $config) +public **merge** ([Phalcon\Config](/en/3.2/api/Phalcon_Config) $config) Merges a configuration into the current one @@ -151,6 +166,14 @@ public static **__set_state** (*array* $data) Restores the state of a Phalcon\\Config object +public static **setPathDelimiter** ([*mixed* $delimiter]) + +Sets the default path delimiter + +public static **getPathDelimiter** () + +Gets the default path delimiter + final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) Helper method for merge configs (forwarding nested config instance) \ No newline at end of file diff --git a/id/api/Phalcon_Config_Adapter_Ini.md b/id/api/Phalcon_Config_Adapter_Ini.md index 8458550716fa..3576158bc75f 100644 --- a/id/api/Phalcon_Config_Adapter_Ini.md +++ b/id/api/Phalcon_Config_Adapter_Ini.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Config\\Adapter\\Ini** -*extends* class [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +*extends* class [Phalcon\Config](/en/3.2/api/Phalcon_Config) *implements* [Countable](http://php.net/manual/en/class.countable.php), [ArrayAccess](http://php.net/manual/en/class.arrayaccess.php) @@ -51,6 +51,10 @@ $config = new \Phalcon\Config\Adapter\Ini( ``` +## Constants + +*string* **DEFAULT_PATH_DELIMITER** + ## Methods public **__construct** (*mixed* $filePath, [*mixed* $mode]) @@ -81,7 +85,7 @@ protected **_cast** (*mixed* $ini) We have to cast values manually because parse_ini_file() has a poor implementation. -public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Allows to check whether an attribute is defined using the array-syntax @@ -94,7 +98,18 @@ var_dump( ``` -public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **path** (*mixed* $path, [*mixed* $defaultValue], [*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Returns a value from current config using a dot separated path. + +```php +path("unknown.path", "default", "."); + +``` + +public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute from the configuration, if the attribute isn't defined returns null If the value is exactly null or is not defined the default value will be used instead @@ -105,7 +120,7 @@ echo $config->get("controllersDir", "../app/controllers/"); ``` -public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute using the array-syntax @@ -118,7 +133,7 @@ print_r( ``` -public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Sets an attribute using the array-syntax @@ -131,7 +146,7 @@ $config["database"] = [ ``` -public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Unsets an attribute using the array-syntax @@ -142,7 +157,7 @@ unset($config["database"]); ``` -public **merge** ([Phalcon\Config](/en/3.1.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **merge** ([Phalcon\Config](/en/3.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Merges a configuration into the current one @@ -161,7 +176,7 @@ $globalConfig->merge($appConfig); ``` -public **toArray** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **toArray** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Converts recursively the object to an array @@ -174,7 +189,7 @@ print_r( ``` -public **count** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **count** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Returns the count of properties set in the config @@ -194,10 +209,18 @@ print $config->count(); ``` -public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Restores the state of a Phalcon\\Config object -final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **setPathDelimiter** ([*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Sets the default path delimiter + +public static **getPathDelimiter** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Gets the default path delimiter + +final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Helper method for merge configs (forwarding nested config instance) \ No newline at end of file diff --git a/id/api/Phalcon_Config_Adapter_Json.md b/id/api/Phalcon_Config_Adapter_Json.md index 37d4418b4241..860df550aee3 100644 --- a/id/api/Phalcon_Config_Adapter_Json.md +++ b/id/api/Phalcon_Config_Adapter_Json.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Config\\Adapter\\Json** -*extends* class [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +*extends* class [Phalcon\Config](/en/3.2/api/Phalcon_Config) *implements* [Countable](http://php.net/manual/en/class.countable.php), [ArrayAccess](http://php.net/manual/en/class.arrayaccess.php) @@ -29,13 +29,17 @@ echo $config->models->metadata; ``` +## Constants + +*string* **DEFAULT_PATH_DELIMITER** + ## Methods public **__construct** (*mixed* $filePath) Phalcon\\Config\\Adapter\\Json constructor -public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Allows to check whether an attribute is defined using the array-syntax @@ -48,7 +52,18 @@ var_dump( ``` -public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **path** (*mixed* $path, [*mixed* $defaultValue], [*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Returns a value from current config using a dot separated path. + +```php +path("unknown.path", "default", "."); + +``` + +public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute from the configuration, if the attribute isn't defined returns null If the value is exactly null or is not defined the default value will be used instead @@ -59,7 +74,7 @@ echo $config->get("controllersDir", "../app/controllers/"); ``` -public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute using the array-syntax @@ -72,7 +87,7 @@ print_r( ``` -public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Sets an attribute using the array-syntax @@ -85,7 +100,7 @@ $config["database"] = [ ``` -public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Unsets an attribute using the array-syntax @@ -96,7 +111,7 @@ unset($config["database"]); ``` -public **merge** ([Phalcon\Config](/en/3.1.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **merge** ([Phalcon\Config](/en/3.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Merges a configuration into the current one @@ -115,7 +130,7 @@ $globalConfig->merge($appConfig); ``` -public **toArray** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **toArray** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Converts recursively the object to an array @@ -128,7 +143,7 @@ print_r( ``` -public **count** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **count** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Returns the count of properties set in the config @@ -148,10 +163,18 @@ print $config->count(); ``` -public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Restores the state of a Phalcon\\Config object -final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **setPathDelimiter** ([*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Sets the default path delimiter + +public static **getPathDelimiter** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Gets the default path delimiter + +final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Helper method for merge configs (forwarding nested config instance) \ No newline at end of file diff --git a/id/api/Phalcon_Config_Adapter_Php.md b/id/api/Phalcon_Config_Adapter_Php.md index d2dbf0e51bc1..844d5a6cdd20 100644 --- a/id/api/Phalcon_Config_Adapter_Php.md +++ b/id/api/Phalcon_Config_Adapter_Php.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Config\\Adapter\\Php** -*extends* class [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +*extends* class [Phalcon\Config](/en/3.2/api/Phalcon_Config) *implements* [Countable](http://php.net/manual/en/class.countable.php), [ArrayAccess](http://php.net/manual/en/class.arrayaccess.php) @@ -44,13 +44,17 @@ echo $config->database->username; ``` +## Constants + +*string* **DEFAULT_PATH_DELIMITER** + ## Methods public **__construct** (*mixed* $filePath) Phalcon\\Config\\Adapter\\Php constructor -public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Allows to check whether an attribute is defined using the array-syntax @@ -63,7 +67,18 @@ var_dump( ``` -public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **path** (*mixed* $path, [*mixed* $defaultValue], [*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Returns a value from current config using a dot separated path. + +```php +path("unknown.path", "default", "."); + +``` + +public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute from the configuration, if the attribute isn't defined returns null If the value is exactly null or is not defined the default value will be used instead @@ -74,7 +89,7 @@ echo $config->get("controllersDir", "../app/controllers/"); ``` -public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute using the array-syntax @@ -87,7 +102,7 @@ print_r( ``` -public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Sets an attribute using the array-syntax @@ -100,7 +115,7 @@ $config["database"] = [ ``` -public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Unsets an attribute using the array-syntax @@ -111,7 +126,7 @@ unset($config["database"]); ``` -public **merge** ([Phalcon\Config](/en/3.1.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **merge** ([Phalcon\Config](/en/3.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Merges a configuration into the current one @@ -130,7 +145,7 @@ $globalConfig->merge($appConfig); ``` -public **toArray** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **toArray** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Converts recursively the object to an array @@ -143,7 +158,7 @@ print_r( ``` -public **count** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **count** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Returns the count of properties set in the config @@ -163,10 +178,18 @@ print $config->count(); ``` -public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Restores the state of a Phalcon\\Config object -final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **setPathDelimiter** ([*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Sets the default path delimiter + +public static **getPathDelimiter** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Gets the default path delimiter + +final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Helper method for merge configs (forwarding nested config instance) \ No newline at end of file diff --git a/id/api/Phalcon_Config_Adapter_Yaml.md b/id/api/Phalcon_Config_Adapter_Yaml.md index a63e7a518e4d..1955bc04918c 100644 --- a/id/api/Phalcon_Config_Adapter_Yaml.md +++ b/id/api/Phalcon_Config_Adapter_Yaml.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Config\\Adapter\\Yaml** -*extends* class [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +*extends* class [Phalcon\Config](/en/3.2/api/Phalcon_Config) *implements* [Countable](http://php.net/manual/en/class.countable.php), [ArrayAccess](http://php.net/manual/en/class.arrayaccess.php) @@ -46,13 +46,17 @@ echo $config->models->metadata; ``` +## Constants + +*string* **DEFAULT_PATH_DELIMITER** + ## Methods public **__construct** (*mixed* $filePath, [*array* $callbacks]) Phalcon\\Config\\Adapter\\Yaml constructor -public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Allows to check whether an attribute is defined using the array-syntax @@ -65,7 +69,18 @@ var_dump( ``` -public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **path** (*mixed* $path, [*mixed* $defaultValue], [*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Returns a value from current config using a dot separated path. + +```php +path("unknown.path", "default", "."); + +``` + +public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute from the configuration, if the attribute isn't defined returns null If the value is exactly null or is not defined the default value will be used instead @@ -76,7 +91,7 @@ echo $config->get("controllersDir", "../app/controllers/"); ``` -public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute using the array-syntax @@ -89,7 +104,7 @@ print_r( ``` -public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Sets an attribute using the array-syntax @@ -102,7 +117,7 @@ $config["database"] = [ ``` -public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Unsets an attribute using the array-syntax @@ -113,7 +128,7 @@ unset($config["database"]); ``` -public **merge** ([Phalcon\Config](/en/3.1.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **merge** ([Phalcon\Config](/en/3.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Merges a configuration into the current one @@ -132,7 +147,7 @@ $globalConfig->merge($appConfig); ``` -public **toArray** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **toArray** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Converts recursively the object to an array @@ -145,7 +160,7 @@ print_r( ``` -public **count** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **count** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Returns the count of properties set in the config @@ -165,10 +180,18 @@ print $config->count(); ``` -public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Restores the state of a Phalcon\\Config object -final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **setPathDelimiter** ([*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Sets the default path delimiter + +public static **getPathDelimiter** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Gets the default path delimiter + +final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Helper method for merge configs (forwarding nested config instance) \ No newline at end of file diff --git a/id/api/Phalcon_Config_Exception.md b/id/api/Phalcon_Config_Exception.md index fe180ca140c2..870c720975df 100644 --- a/id/api/Phalcon_Config_Exception.md +++ b/id/api/Phalcon_Config_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Config\\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_Crypt.md b/id/api/Phalcon_Crypt.md index 02729550912f..348e1401a9a0 100644 --- a/id/api/Phalcon_Crypt.md +++ b/id/api/Phalcon_Crypt.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Crypt** -*implements* [Phalcon\CryptInterface](/en/3.1.2/api/Phalcon_CryptInterface) +*implements* [Phalcon\CryptInterface](/en/3.2/api/Phalcon_CryptInterface) Source on GitHub diff --git a/id/api/Phalcon_Crypt_Exception.md b/id/api/Phalcon_Crypt_Exception.md index 677b1db3e78e..ea2a2af5ed7e 100644 --- a/id/api/Phalcon_Crypt_Exception.md +++ b/id/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/id/api/Phalcon_Flash_Direct.md b/id/api/Phalcon_Flash_Direct.md index 5563e108b68e..9b8045cf2a4e 100644 --- a/id/api/Phalcon_Flash_Direct.md +++ b/id/api/Phalcon_Flash_Direct.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Flash\\Direct** -*extends* abstract class [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +*extends* abstract class [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) -*implements* [Phalcon\Di\InjectionAwareInterface](/en/3.1.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\FlashInterface](/en/3.1.2/api/Phalcon_FlashInterface) +*implements* [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\FlashInterface](/en/3.2/api/Phalcon_FlashInterface) Source on GitHub @@ -18,47 +18,47 @@ public **output** ([*mixed* $remove]) Prints the messages accumulated in the flasher -public **__construct** ([*mixed* $cssClasses]) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **__construct** ([*mixed* $cssClasses]) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Phalcon\\Flash constructor -public **getAutoescape** () inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **getAutoescape** () inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Returns the autoescape mode in generated html -public **setAutoescape** (*mixed* $autoescape) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **setAutoescape** (*mixed* $autoescape) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Set the autoescape mode in generated html -public **getEscaperService** () inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **getEscaperService** () inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Returns the Escaper Service -public **setEscaperService** ([Phalcon\EscaperInterface](/en/3.1.2/api/Phalcon_EscaperInterface) $escaperService) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **setEscaperService** ([Phalcon\EscaperInterface](/en/3.2/api/Phalcon_EscaperInterface) $escaperService) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Sets the Escaper Service -public **setDI** ([Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **setDI** ([Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Sets the dependency injector -public **getDI** () inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **getDI** () inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Returns the internal dependency injector -public **setImplicitFlush** (*mixed* $implicitFlush) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **setImplicitFlush** (*mixed* $implicitFlush) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Set whether the output must be implicitly flushed to the output or returned as string -public **setAutomaticHtml** (*mixed* $automaticHtml) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **setAutomaticHtml** (*mixed* $automaticHtml) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Set if the output must be implicitly formatted with HTML -public **setCssClasses** (*array* $cssClasses) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **setCssClasses** (*array* $cssClasses) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Set an array with CSS classes to format the messages -public **error** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **error** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Shows a HTML error message @@ -69,7 +69,7 @@ $flash->error("This is an error"); ``` -public **notice** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **notice** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Shows a HTML notice/information message @@ -80,7 +80,7 @@ $flash->notice("This is an information"); ``` -public **success** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **success** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Shows a HTML success message @@ -91,7 +91,7 @@ $flash->success("The process was finished successfully"); ``` -public **warning** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **warning** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Shows a HTML warning message @@ -102,7 +102,7 @@ $flash->warning("Hey, this is important"); ``` -public *string* | *void* **outputMessage** (*mixed* $type, *string* | *array* $message) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public *string* | *void* **outputMessage** (*mixed* $type, *string* | *array* $message) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Outputs a message formatting it with HTML @@ -113,6 +113,6 @@ $flash->outputMessage("error", $message); ``` -public **clear** () inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **clear** () inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Clears accumulated messages when implicit flush is disabled \ No newline at end of file diff --git a/id/api/Phalcon_Forms_ElementInterface.md b/id/api/Phalcon_Forms_ElementInterface.md index bde079440bdc..8108787311a9 100644 --- a/id/api/Phalcon_Forms_ElementInterface.md +++ b/id/api/Phalcon_Forms_ElementInterface.md @@ -4,7 +4,7 @@ ## Methods -abstract public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) +abstract public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) ... @@ -36,7 +36,7 @@ abstract public **addValidators** (*array* $validators, [*mixed* $merge]) ... -abstract public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) +abstract public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) ... @@ -112,11 +112,11 @@ abstract public **hasMessages** () ... -abstract public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) +abstract public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) ... -abstract public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) +abstract public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) ... diff --git a/id/api/Phalcon_Forms_Element_Check.md b/id/api/Phalcon_Forms_Element_Check.md index f7f53cada4b4..320a3d0b2bed 100644 --- a/id/api/Phalcon_Forms_Element_Check.md +++ b/id/api/Phalcon_Forms_Element_Check.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Forms\\Element\\Check** -*extends* abstract class [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +*extends* abstract class [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) -*implements* [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) +*implements* [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) Source on GitHub @@ -14,130 +14,130 @@ public **render** ([*array* $attributes]) Renders the element widget returning html -public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Phalcon\\Forms\\Element constructor -public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the parent form to the element -public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the parent form to the element -public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element name -public **getName** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getName** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element name -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element filters -public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a filter to current list of filters -public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element filters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a group of validators -public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a validator to the element -public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the validators registered for the element -public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns an array of prepared attributes for Phalcon\\Tag helpers according to the element parameters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default attribute for the element -public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an attribute if present -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets default attributes for the element -public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default attributes for the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets an option for the element -public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an option if present -public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets options for the element -public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the options for the element -public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element label -public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element label -public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Generate the HTML to label the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default value in case the form does not use an entity or there is no value available for the element in _POST -public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default value assigned to the element -public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element value -public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the messages that belongs to the element The element needs to be attached to a form -public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Checks whether there are messages attached to the element -public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the validation messages related to the element -public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Appends a message to the internal message list -public **clear** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **clear** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Clears every element in the form to its default value -public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Magic method __toString renders the widget without attributes \ No newline at end of file diff --git a/id/api/Phalcon_Forms_Element_Date.md b/id/api/Phalcon_Forms_Element_Date.md index 9bdd42965358..701a6b5ffe81 100644 --- a/id/api/Phalcon_Forms_Element_Date.md +++ b/id/api/Phalcon_Forms_Element_Date.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Forms\\Element\\Date** -*extends* abstract class [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +*extends* abstract class [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) -*implements* [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) +*implements* [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) Source on GitHub @@ -14,130 +14,130 @@ public **render** ([*array* $attributes]) Renders the element widget returning html -public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Phalcon\\Forms\\Element constructor -public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the parent form to the element -public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the parent form to the element -public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element name -public **getName** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getName** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element name -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element filters -public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a filter to current list of filters -public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element filters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a group of validators -public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a validator to the element -public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the validators registered for the element -public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns an array of prepared attributes for Phalcon\\Tag helpers according to the element parameters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default attribute for the element -public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an attribute if present -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets default attributes for the element -public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default attributes for the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets an option for the element -public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an option if present -public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets options for the element -public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the options for the element -public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element label -public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element label -public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Generate the HTML to label the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default value in case the form does not use an entity or there is no value available for the element in _POST -public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default value assigned to the element -public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element value -public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the messages that belongs to the element The element needs to be attached to a form -public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Checks whether there are messages attached to the element -public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the validation messages related to the element -public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Appends a message to the internal message list -public **clear** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **clear** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Clears every element in the form to its default value -public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Magic method __toString renders the widget without attributes \ No newline at end of file diff --git a/id/api/Phalcon_Forms_Element_Email.md b/id/api/Phalcon_Forms_Element_Email.md index 46e6c4dd0910..e732f646f360 100644 --- a/id/api/Phalcon_Forms_Element_Email.md +++ b/id/api/Phalcon_Forms_Element_Email.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Forms\\Element\\Email** -*extends* abstract class [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +*extends* abstract class [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) -*implements* [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) +*implements* [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) Source on GitHub @@ -14,130 +14,130 @@ public **render** ([*array* $attributes]) Renders the element widget returning html -public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Phalcon\\Forms\\Element constructor -public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the parent form to the element -public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the parent form to the element -public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element name -public **getName** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getName** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element name -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element filters -public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a filter to current list of filters -public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element filters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a group of validators -public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a validator to the element -public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the validators registered for the element -public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns an array of prepared attributes for Phalcon\\Tag helpers according to the element parameters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default attribute for the element -public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an attribute if present -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets default attributes for the element -public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default attributes for the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets an option for the element -public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an option if present -public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets options for the element -public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the options for the element -public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element label -public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element label -public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Generate the HTML to label the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default value in case the form does not use an entity or there is no value available for the element in _POST -public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default value assigned to the element -public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element value -public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the messages that belongs to the element The element needs to be attached to a form -public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Checks whether there are messages attached to the element -public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the validation messages related to the element -public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Appends a message to the internal message list -public **clear** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **clear** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Clears every element in the form to its default value -public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Magic method __toString renders the widget without attributes \ No newline at end of file diff --git a/id/api/Phalcon_Forms_Element_File.md b/id/api/Phalcon_Forms_Element_File.md index 04fceec03b0d..b81797926b6f 100644 --- a/id/api/Phalcon_Forms_Element_File.md +++ b/id/api/Phalcon_Forms_Element_File.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Forms\\Element\\File** -*extends* abstract class [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +*extends* abstract class [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) -*implements* [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) +*implements* [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) Source on GitHub @@ -14,130 +14,130 @@ public **render** ([*array* $attributes]) Renders the element widget returning html -public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Phalcon\\Forms\\Element constructor -public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the parent form to the element -public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the parent form to the element -public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element name -public **getName** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getName** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element name -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element filters -public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a filter to current list of filters -public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element filters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a group of validators -public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a validator to the element -public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the validators registered for the element -public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns an array of prepared attributes for Phalcon\\Tag helpers according to the element parameters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default attribute for the element -public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an attribute if present -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets default attributes for the element -public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default attributes for the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets an option for the element -public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an option if present -public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets options for the element -public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the options for the element -public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element label -public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element label -public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Generate the HTML to label the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default value in case the form does not use an entity or there is no value available for the element in _POST -public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default value assigned to the element -public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element value -public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the messages that belongs to the element The element needs to be attached to a form -public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Checks whether there are messages attached to the element -public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the validation messages related to the element -public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Appends a message to the internal message list -public **clear** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **clear** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Clears every element in the form to its default value -public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Magic method __toString renders the widget without attributes \ No newline at end of file diff --git a/id/api/Phalcon_Forms_Element_Hidden.md b/id/api/Phalcon_Forms_Element_Hidden.md index 317e3fe554b8..91457ea53c89 100644 --- a/id/api/Phalcon_Forms_Element_Hidden.md +++ b/id/api/Phalcon_Forms_Element_Hidden.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Forms\\Element\\Hidden** -*extends* abstract class [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +*extends* abstract class [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) -*implements* [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) +*implements* [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) Source on GitHub @@ -14,130 +14,130 @@ public **render** ([*array* $attributes]) Renders the element widget returning html -public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Phalcon\\Forms\\Element constructor -public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the parent form to the element -public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the parent form to the element -public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element name -public **getName** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getName** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element name -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element filters -public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a filter to current list of filters -public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element filters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a group of validators -public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a validator to the element -public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the validators registered for the element -public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns an array of prepared attributes for Phalcon\\Tag helpers according to the element parameters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default attribute for the element -public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an attribute if present -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets default attributes for the element -public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default attributes for the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets an option for the element -public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an option if present -public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets options for the element -public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the options for the element -public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element label -public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element label -public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Generate the HTML to label the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default value in case the form does not use an entity or there is no value available for the element in _POST -public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default value assigned to the element -public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element value -public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the messages that belongs to the element The element needs to be attached to a form -public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Checks whether there are messages attached to the element -public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the validation messages related to the element -public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Appends a message to the internal message list -public **clear** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **clear** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Clears every element in the form to its default value -public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Magic method __toString renders the widget without attributes \ No newline at end of file diff --git a/id/api/Phalcon_Forms_Element_Numeric.md b/id/api/Phalcon_Forms_Element_Numeric.md index 1b13ae0d294f..cd365f3c022b 100644 --- a/id/api/Phalcon_Forms_Element_Numeric.md +++ b/id/api/Phalcon_Forms_Element_Numeric.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Forms\\Element\\Numeric** -*extends* abstract class [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +*extends* abstract class [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) -*implements* [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) +*implements* [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) Source on GitHub @@ -14,130 +14,130 @@ public **render** ([*array* $attributes]) Renders the element widget returning html -public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Phalcon\\Forms\\Element constructor -public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the parent form to the element -public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the parent form to the element -public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element name -public **getName** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getName** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element name -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element filters -public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a filter to current list of filters -public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element filters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a group of validators -public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a validator to the element -public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the validators registered for the element -public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns an array of prepared attributes for Phalcon\\Tag helpers according to the element parameters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default attribute for the element -public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an attribute if present -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets default attributes for the element -public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default attributes for the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets an option for the element -public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an option if present -public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets options for the element -public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the options for the element -public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element label -public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element label -public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Generate the HTML to label the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default value in case the form does not use an entity or there is no value available for the element in _POST -public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default value assigned to the element -public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element value -public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the messages that belongs to the element The element needs to be attached to a form -public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Checks whether there are messages attached to the element -public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the validation messages related to the element -public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Appends a message to the internal message list -public **clear** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **clear** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Clears every element in the form to its default value -public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Magic method __toString renders the widget without attributes \ No newline at end of file diff --git a/ja/api/Phalcon_Cli_Router_Route.md b/ja/api/Phalcon_Cli_Router_Route.md index 73e76009acee..290d5404abd8 100644 --- a/ja/api/Phalcon_Cli_Router_Route.md +++ b/ja/api/Phalcon_Cli_Router_Route.md @@ -46,7 +46,7 @@ $router->add( ``` -public [Phalcon\Cli\Router\Route](/en/3.1.2/api/Phalcon_Cli_Router_Route) **beforeMatch** (*callback* $callback) +public [Phalcon\Cli\Router\Route](/en/3.2/api/Phalcon_Cli_Router_Route) **beforeMatch** (*callback* $callback) Sets a callback that is called if the route is matched. The developer can implement any arbitrary conditions here If the callback returns false the route is treated as not matched @@ -74,7 +74,7 @@ public **getReversedPaths** () Returns the paths using positions as keys and names as values -public [Phalcon\Cli\Router\Route](/en/3.1.2/api/Phalcon_Cli_Router_Route) **convert** (*string* $name, *callable* $converter) +public [Phalcon\Cli\Router\Route](/en/3.2/api/Phalcon_Cli_Router_Route) **convert** (*string* $name, *callable* $converter) Adds a converter to perform an additional transformation for certain parameter diff --git a/ja/api/Phalcon_Cli_Task.md b/ja/api/Phalcon_Cli_Task.md index 4090d0b7bf55..15624d08810c 100644 --- a/ja/api/Phalcon_Cli_Task.md +++ b/ja/api/Phalcon_Cli_Task.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cli\\Task** -*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), [Phalcon\Cli\TaskInterface](/en/3.1.2/api/Phalcon_Cli_TaskInterface) +*implements* [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\Cli\TaskInterface](/en/3.2/api/Phalcon_Cli_TaskInterface) Source on GitHub @@ -35,22 +35,22 @@ final public **__construct** () Phalcon\\Cli\\Task constructor -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 **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Sets the event manager -public **getEventsManager** () inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **getEventsManager** () inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Returns the internal event manager -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_Config.md b/ja/api/Phalcon_Config.md index 55a3611a9d38..7b972faed1f5 100644 --- a/ja/api/Phalcon_Config.md +++ b/ja/api/Phalcon_Config.md @@ -28,6 +28,10 @@ $config = new \Phalcon\Config( ``` +## Constants + +*string* **DEFAULT_PATH_DELIMITER** + ## Methods public **__construct** ([*array* $arrayConfig]) @@ -47,6 +51,17 @@ var_dump( ``` +public **path** (*mixed* $path, [*mixed* $defaultValue], [*mixed* $delimiter]) + +Returns a value from current config using a dot separated path. + +```php +path("unknown.path", "default", "."); + +``` + public **get** (*mixed* $index, [*mixed* $defaultValue]) Gets an attribute from the configuration, if the attribute isn't defined returns null If the value is exactly null or is not defined the default value will be used instead @@ -95,7 +110,7 @@ unset($config["database"]); ``` -public **merge** ([Phalcon\Config](/en/3.1.2/api/Phalcon_Config) $config) +public **merge** ([Phalcon\Config](/en/3.2/api/Phalcon_Config) $config) Merges a configuration into the current one @@ -151,6 +166,14 @@ public static **__set_state** (*array* $data) Restores the state of a Phalcon\\Config object +public static **setPathDelimiter** ([*mixed* $delimiter]) + +Sets the default path delimiter + +public static **getPathDelimiter** () + +Gets the default path delimiter + final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) Helper method for merge configs (forwarding nested config instance) \ No newline at end of file diff --git a/ja/api/Phalcon_Config_Adapter_Ini.md b/ja/api/Phalcon_Config_Adapter_Ini.md index 8458550716fa..3576158bc75f 100644 --- a/ja/api/Phalcon_Config_Adapter_Ini.md +++ b/ja/api/Phalcon_Config_Adapter_Ini.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Config\\Adapter\\Ini** -*extends* class [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +*extends* class [Phalcon\Config](/en/3.2/api/Phalcon_Config) *implements* [Countable](http://php.net/manual/en/class.countable.php), [ArrayAccess](http://php.net/manual/en/class.arrayaccess.php) @@ -51,6 +51,10 @@ $config = new \Phalcon\Config\Adapter\Ini( ``` +## Constants + +*string* **DEFAULT_PATH_DELIMITER** + ## Methods public **__construct** (*mixed* $filePath, [*mixed* $mode]) @@ -81,7 +85,7 @@ protected **_cast** (*mixed* $ini) We have to cast values manually because parse_ini_file() has a poor implementation. -public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Allows to check whether an attribute is defined using the array-syntax @@ -94,7 +98,18 @@ var_dump( ``` -public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **path** (*mixed* $path, [*mixed* $defaultValue], [*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Returns a value from current config using a dot separated path. + +```php +path("unknown.path", "default", "."); + +``` + +public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute from the configuration, if the attribute isn't defined returns null If the value is exactly null or is not defined the default value will be used instead @@ -105,7 +120,7 @@ echo $config->get("controllersDir", "../app/controllers/"); ``` -public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute using the array-syntax @@ -118,7 +133,7 @@ print_r( ``` -public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Sets an attribute using the array-syntax @@ -131,7 +146,7 @@ $config["database"] = [ ``` -public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Unsets an attribute using the array-syntax @@ -142,7 +157,7 @@ unset($config["database"]); ``` -public **merge** ([Phalcon\Config](/en/3.1.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **merge** ([Phalcon\Config](/en/3.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Merges a configuration into the current one @@ -161,7 +176,7 @@ $globalConfig->merge($appConfig); ``` -public **toArray** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **toArray** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Converts recursively the object to an array @@ -174,7 +189,7 @@ print_r( ``` -public **count** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **count** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Returns the count of properties set in the config @@ -194,10 +209,18 @@ print $config->count(); ``` -public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Restores the state of a Phalcon\\Config object -final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **setPathDelimiter** ([*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Sets the default path delimiter + +public static **getPathDelimiter** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Gets the default path delimiter + +final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Helper method for merge configs (forwarding nested config instance) \ No newline at end of file diff --git a/ja/api/Phalcon_Config_Adapter_Json.md b/ja/api/Phalcon_Config_Adapter_Json.md index 37d4418b4241..860df550aee3 100644 --- a/ja/api/Phalcon_Config_Adapter_Json.md +++ b/ja/api/Phalcon_Config_Adapter_Json.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Config\\Adapter\\Json** -*extends* class [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +*extends* class [Phalcon\Config](/en/3.2/api/Phalcon_Config) *implements* [Countable](http://php.net/manual/en/class.countable.php), [ArrayAccess](http://php.net/manual/en/class.arrayaccess.php) @@ -29,13 +29,17 @@ echo $config->models->metadata; ``` +## Constants + +*string* **DEFAULT_PATH_DELIMITER** + ## Methods public **__construct** (*mixed* $filePath) Phalcon\\Config\\Adapter\\Json constructor -public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Allows to check whether an attribute is defined using the array-syntax @@ -48,7 +52,18 @@ var_dump( ``` -public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **path** (*mixed* $path, [*mixed* $defaultValue], [*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Returns a value from current config using a dot separated path. + +```php +path("unknown.path", "default", "."); + +``` + +public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute from the configuration, if the attribute isn't defined returns null If the value is exactly null or is not defined the default value will be used instead @@ -59,7 +74,7 @@ echo $config->get("controllersDir", "../app/controllers/"); ``` -public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute using the array-syntax @@ -72,7 +87,7 @@ print_r( ``` -public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Sets an attribute using the array-syntax @@ -85,7 +100,7 @@ $config["database"] = [ ``` -public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Unsets an attribute using the array-syntax @@ -96,7 +111,7 @@ unset($config["database"]); ``` -public **merge** ([Phalcon\Config](/en/3.1.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **merge** ([Phalcon\Config](/en/3.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Merges a configuration into the current one @@ -115,7 +130,7 @@ $globalConfig->merge($appConfig); ``` -public **toArray** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **toArray** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Converts recursively the object to an array @@ -128,7 +143,7 @@ print_r( ``` -public **count** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **count** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Returns the count of properties set in the config @@ -148,10 +163,18 @@ print $config->count(); ``` -public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Restores the state of a Phalcon\\Config object -final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **setPathDelimiter** ([*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Sets the default path delimiter + +public static **getPathDelimiter** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Gets the default path delimiter + +final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Helper method for merge configs (forwarding nested config instance) \ No newline at end of file diff --git a/ja/api/Phalcon_Config_Adapter_Php.md b/ja/api/Phalcon_Config_Adapter_Php.md index d2dbf0e51bc1..844d5a6cdd20 100644 --- a/ja/api/Phalcon_Config_Adapter_Php.md +++ b/ja/api/Phalcon_Config_Adapter_Php.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Config\\Adapter\\Php** -*extends* class [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +*extends* class [Phalcon\Config](/en/3.2/api/Phalcon_Config) *implements* [Countable](http://php.net/manual/en/class.countable.php), [ArrayAccess](http://php.net/manual/en/class.arrayaccess.php) @@ -44,13 +44,17 @@ echo $config->database->username; ``` +## Constants + +*string* **DEFAULT_PATH_DELIMITER** + ## Methods public **__construct** (*mixed* $filePath) Phalcon\\Config\\Adapter\\Php constructor -public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Allows to check whether an attribute is defined using the array-syntax @@ -63,7 +67,18 @@ var_dump( ``` -public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **path** (*mixed* $path, [*mixed* $defaultValue], [*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Returns a value from current config using a dot separated path. + +```php +path("unknown.path", "default", "."); + +``` + +public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute from the configuration, if the attribute isn't defined returns null If the value is exactly null or is not defined the default value will be used instead @@ -74,7 +89,7 @@ echo $config->get("controllersDir", "../app/controllers/"); ``` -public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute using the array-syntax @@ -87,7 +102,7 @@ print_r( ``` -public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Sets an attribute using the array-syntax @@ -100,7 +115,7 @@ $config["database"] = [ ``` -public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Unsets an attribute using the array-syntax @@ -111,7 +126,7 @@ unset($config["database"]); ``` -public **merge** ([Phalcon\Config](/en/3.1.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **merge** ([Phalcon\Config](/en/3.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Merges a configuration into the current one @@ -130,7 +145,7 @@ $globalConfig->merge($appConfig); ``` -public **toArray** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **toArray** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Converts recursively the object to an array @@ -143,7 +158,7 @@ print_r( ``` -public **count** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **count** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Returns the count of properties set in the config @@ -163,10 +178,18 @@ print $config->count(); ``` -public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Restores the state of a Phalcon\\Config object -final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **setPathDelimiter** ([*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Sets the default path delimiter + +public static **getPathDelimiter** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Gets the default path delimiter + +final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Helper method for merge configs (forwarding nested config instance) \ No newline at end of file diff --git a/ja/api/Phalcon_Config_Adapter_Yaml.md b/ja/api/Phalcon_Config_Adapter_Yaml.md index a63e7a518e4d..1955bc04918c 100644 --- a/ja/api/Phalcon_Config_Adapter_Yaml.md +++ b/ja/api/Phalcon_Config_Adapter_Yaml.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Config\\Adapter\\Yaml** -*extends* class [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +*extends* class [Phalcon\Config](/en/3.2/api/Phalcon_Config) *implements* [Countable](http://php.net/manual/en/class.countable.php), [ArrayAccess](http://php.net/manual/en/class.arrayaccess.php) @@ -46,13 +46,17 @@ echo $config->models->metadata; ``` +## Constants + +*string* **DEFAULT_PATH_DELIMITER** + ## Methods public **__construct** (*mixed* $filePath, [*array* $callbacks]) Phalcon\\Config\\Adapter\\Yaml constructor -public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Allows to check whether an attribute is defined using the array-syntax @@ -65,7 +69,18 @@ var_dump( ``` -public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **path** (*mixed* $path, [*mixed* $defaultValue], [*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Returns a value from current config using a dot separated path. + +```php +path("unknown.path", "default", "."); + +``` + +public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute from the configuration, if the attribute isn't defined returns null If the value is exactly null or is not defined the default value will be used instead @@ -76,7 +91,7 @@ echo $config->get("controllersDir", "../app/controllers/"); ``` -public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute using the array-syntax @@ -89,7 +104,7 @@ print_r( ``` -public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Sets an attribute using the array-syntax @@ -102,7 +117,7 @@ $config["database"] = [ ``` -public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Unsets an attribute using the array-syntax @@ -113,7 +128,7 @@ unset($config["database"]); ``` -public **merge** ([Phalcon\Config](/en/3.1.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **merge** ([Phalcon\Config](/en/3.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Merges a configuration into the current one @@ -132,7 +147,7 @@ $globalConfig->merge($appConfig); ``` -public **toArray** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **toArray** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Converts recursively the object to an array @@ -145,7 +160,7 @@ print_r( ``` -public **count** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **count** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Returns the count of properties set in the config @@ -165,10 +180,18 @@ print $config->count(); ``` -public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Restores the state of a Phalcon\\Config object -final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **setPathDelimiter** ([*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Sets the default path delimiter + +public static **getPathDelimiter** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Gets the default path delimiter + +final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Helper method for merge configs (forwarding nested config instance) \ No newline at end of file diff --git a/ja/api/Phalcon_Config_Exception.md b/ja/api/Phalcon_Config_Exception.md index fe180ca140c2..870c720975df 100644 --- a/ja/api/Phalcon_Config_Exception.md +++ b/ja/api/Phalcon_Config_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Config\\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_Crypt.md b/ja/api/Phalcon_Crypt.md index 02729550912f..348e1401a9a0 100644 --- a/ja/api/Phalcon_Crypt.md +++ b/ja/api/Phalcon_Crypt.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Crypt** -*implements* [Phalcon\CryptInterface](/en/3.1.2/api/Phalcon_CryptInterface) +*implements* [Phalcon\CryptInterface](/en/3.2/api/Phalcon_CryptInterface) Source on GitHub diff --git a/ja/api/Phalcon_Crypt_Exception.md b/ja/api/Phalcon_Crypt_Exception.md index 677b1db3e78e..ea2a2af5ed7e 100644 --- a/ja/api/Phalcon_Crypt_Exception.md +++ b/ja/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/ja/api/Phalcon_Flash_Direct.md b/ja/api/Phalcon_Flash_Direct.md index 5563e108b68e..9b8045cf2a4e 100644 --- a/ja/api/Phalcon_Flash_Direct.md +++ b/ja/api/Phalcon_Flash_Direct.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Flash\\Direct** -*extends* abstract class [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +*extends* abstract class [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) -*implements* [Phalcon\Di\InjectionAwareInterface](/en/3.1.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\FlashInterface](/en/3.1.2/api/Phalcon_FlashInterface) +*implements* [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\FlashInterface](/en/3.2/api/Phalcon_FlashInterface) Source on GitHub @@ -18,47 +18,47 @@ public **output** ([*mixed* $remove]) Prints the messages accumulated in the flasher -public **__construct** ([*mixed* $cssClasses]) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **__construct** ([*mixed* $cssClasses]) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Phalcon\\Flash constructor -public **getAutoescape** () inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **getAutoescape** () inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Returns the autoescape mode in generated html -public **setAutoescape** (*mixed* $autoescape) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **setAutoescape** (*mixed* $autoescape) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Set the autoescape mode in generated html -public **getEscaperService** () inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **getEscaperService** () inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Returns the Escaper Service -public **setEscaperService** ([Phalcon\EscaperInterface](/en/3.1.2/api/Phalcon_EscaperInterface) $escaperService) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **setEscaperService** ([Phalcon\EscaperInterface](/en/3.2/api/Phalcon_EscaperInterface) $escaperService) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Sets the Escaper Service -public **setDI** ([Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **setDI** ([Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Sets the dependency injector -public **getDI** () inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **getDI** () inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Returns the internal dependency injector -public **setImplicitFlush** (*mixed* $implicitFlush) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **setImplicitFlush** (*mixed* $implicitFlush) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Set whether the output must be implicitly flushed to the output or returned as string -public **setAutomaticHtml** (*mixed* $automaticHtml) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **setAutomaticHtml** (*mixed* $automaticHtml) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Set if the output must be implicitly formatted with HTML -public **setCssClasses** (*array* $cssClasses) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **setCssClasses** (*array* $cssClasses) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Set an array with CSS classes to format the messages -public **error** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **error** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Shows a HTML error message @@ -69,7 +69,7 @@ $flash->error("This is an error"); ``` -public **notice** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **notice** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Shows a HTML notice/information message @@ -80,7 +80,7 @@ $flash->notice("This is an information"); ``` -public **success** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **success** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Shows a HTML success message @@ -91,7 +91,7 @@ $flash->success("The process was finished successfully"); ``` -public **warning** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **warning** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Shows a HTML warning message @@ -102,7 +102,7 @@ $flash->warning("Hey, this is important"); ``` -public *string* | *void* **outputMessage** (*mixed* $type, *string* | *array* $message) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public *string* | *void* **outputMessage** (*mixed* $type, *string* | *array* $message) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Outputs a message formatting it with HTML @@ -113,6 +113,6 @@ $flash->outputMessage("error", $message); ``` -public **clear** () inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **clear** () inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Clears accumulated messages when implicit flush is disabled \ No newline at end of file diff --git a/ja/api/Phalcon_Forms_ElementInterface.md b/ja/api/Phalcon_Forms_ElementInterface.md index bde079440bdc..8108787311a9 100644 --- a/ja/api/Phalcon_Forms_ElementInterface.md +++ b/ja/api/Phalcon_Forms_ElementInterface.md @@ -4,7 +4,7 @@ ## Methods -abstract public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) +abstract public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) ... @@ -36,7 +36,7 @@ abstract public **addValidators** (*array* $validators, [*mixed* $merge]) ... -abstract public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) +abstract public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) ... @@ -112,11 +112,11 @@ abstract public **hasMessages** () ... -abstract public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) +abstract public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) ... -abstract public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) +abstract public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) ... diff --git a/ja/api/Phalcon_Forms_Element_Check.md b/ja/api/Phalcon_Forms_Element_Check.md index f7f53cada4b4..320a3d0b2bed 100644 --- a/ja/api/Phalcon_Forms_Element_Check.md +++ b/ja/api/Phalcon_Forms_Element_Check.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Forms\\Element\\Check** -*extends* abstract class [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +*extends* abstract class [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) -*implements* [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) +*implements* [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) Source on GitHub @@ -14,130 +14,130 @@ public **render** ([*array* $attributes]) Renders the element widget returning html -public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Phalcon\\Forms\\Element constructor -public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the parent form to the element -public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the parent form to the element -public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element name -public **getName** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getName** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element name -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element filters -public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a filter to current list of filters -public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element filters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a group of validators -public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a validator to the element -public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the validators registered for the element -public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns an array of prepared attributes for Phalcon\\Tag helpers according to the element parameters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default attribute for the element -public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an attribute if present -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets default attributes for the element -public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default attributes for the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets an option for the element -public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an option if present -public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets options for the element -public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the options for the element -public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element label -public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element label -public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Generate the HTML to label the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default value in case the form does not use an entity or there is no value available for the element in _POST -public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default value assigned to the element -public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element value -public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the messages that belongs to the element The element needs to be attached to a form -public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Checks whether there are messages attached to the element -public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the validation messages related to the element -public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Appends a message to the internal message list -public **clear** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **clear** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Clears every element in the form to its default value -public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Magic method __toString renders the widget without attributes \ No newline at end of file diff --git a/ja/api/Phalcon_Forms_Element_Date.md b/ja/api/Phalcon_Forms_Element_Date.md index 9bdd42965358..701a6b5ffe81 100644 --- a/ja/api/Phalcon_Forms_Element_Date.md +++ b/ja/api/Phalcon_Forms_Element_Date.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Forms\\Element\\Date** -*extends* abstract class [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +*extends* abstract class [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) -*implements* [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) +*implements* [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) Source on GitHub @@ -14,130 +14,130 @@ public **render** ([*array* $attributes]) Renders the element widget returning html -public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Phalcon\\Forms\\Element constructor -public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the parent form to the element -public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the parent form to the element -public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element name -public **getName** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getName** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element name -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element filters -public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a filter to current list of filters -public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element filters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a group of validators -public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a validator to the element -public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the validators registered for the element -public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns an array of prepared attributes for Phalcon\\Tag helpers according to the element parameters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default attribute for the element -public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an attribute if present -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets default attributes for the element -public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default attributes for the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets an option for the element -public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an option if present -public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets options for the element -public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the options for the element -public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element label -public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element label -public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Generate the HTML to label the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default value in case the form does not use an entity or there is no value available for the element in _POST -public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default value assigned to the element -public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element value -public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the messages that belongs to the element The element needs to be attached to a form -public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Checks whether there are messages attached to the element -public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the validation messages related to the element -public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Appends a message to the internal message list -public **clear** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **clear** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Clears every element in the form to its default value -public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Magic method __toString renders the widget without attributes \ No newline at end of file diff --git a/ja/api/Phalcon_Forms_Element_Email.md b/ja/api/Phalcon_Forms_Element_Email.md index 46e6c4dd0910..e732f646f360 100644 --- a/ja/api/Phalcon_Forms_Element_Email.md +++ b/ja/api/Phalcon_Forms_Element_Email.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Forms\\Element\\Email** -*extends* abstract class [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +*extends* abstract class [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) -*implements* [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) +*implements* [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) Source on GitHub @@ -14,130 +14,130 @@ public **render** ([*array* $attributes]) Renders the element widget returning html -public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Phalcon\\Forms\\Element constructor -public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the parent form to the element -public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the parent form to the element -public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element name -public **getName** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getName** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element name -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element filters -public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a filter to current list of filters -public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element filters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a group of validators -public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a validator to the element -public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the validators registered for the element -public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns an array of prepared attributes for Phalcon\\Tag helpers according to the element parameters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default attribute for the element -public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an attribute if present -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets default attributes for the element -public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default attributes for the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets an option for the element -public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an option if present -public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets options for the element -public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the options for the element -public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element label -public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element label -public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Generate the HTML to label the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default value in case the form does not use an entity or there is no value available for the element in _POST -public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default value assigned to the element -public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element value -public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the messages that belongs to the element The element needs to be attached to a form -public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Checks whether there are messages attached to the element -public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the validation messages related to the element -public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Appends a message to the internal message list -public **clear** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **clear** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Clears every element in the form to its default value -public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Magic method __toString renders the widget without attributes \ No newline at end of file diff --git a/ja/api/Phalcon_Forms_Element_File.md b/ja/api/Phalcon_Forms_Element_File.md index 04fceec03b0d..b81797926b6f 100644 --- a/ja/api/Phalcon_Forms_Element_File.md +++ b/ja/api/Phalcon_Forms_Element_File.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Forms\\Element\\File** -*extends* abstract class [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +*extends* abstract class [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) -*implements* [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) +*implements* [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) Source on GitHub @@ -14,130 +14,130 @@ public **render** ([*array* $attributes]) Renders the element widget returning html -public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Phalcon\\Forms\\Element constructor -public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the parent form to the element -public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the parent form to the element -public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element name -public **getName** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getName** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element name -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element filters -public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a filter to current list of filters -public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element filters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a group of validators -public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a validator to the element -public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the validators registered for the element -public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns an array of prepared attributes for Phalcon\\Tag helpers according to the element parameters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default attribute for the element -public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an attribute if present -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets default attributes for the element -public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default attributes for the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets an option for the element -public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an option if present -public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets options for the element -public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the options for the element -public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element label -public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element label -public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Generate the HTML to label the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default value in case the form does not use an entity or there is no value available for the element in _POST -public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default value assigned to the element -public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element value -public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the messages that belongs to the element The element needs to be attached to a form -public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Checks whether there are messages attached to the element -public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the validation messages related to the element -public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Appends a message to the internal message list -public **clear** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **clear** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Clears every element in the form to its default value -public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Magic method __toString renders the widget without attributes \ No newline at end of file diff --git a/ja/api/Phalcon_Forms_Element_Hidden.md b/ja/api/Phalcon_Forms_Element_Hidden.md index 317e3fe554b8..91457ea53c89 100644 --- a/ja/api/Phalcon_Forms_Element_Hidden.md +++ b/ja/api/Phalcon_Forms_Element_Hidden.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Forms\\Element\\Hidden** -*extends* abstract class [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +*extends* abstract class [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) -*implements* [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) +*implements* [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) Source on GitHub @@ -14,130 +14,130 @@ public **render** ([*array* $attributes]) Renders the element widget returning html -public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Phalcon\\Forms\\Element constructor -public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the parent form to the element -public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the parent form to the element -public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element name -public **getName** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getName** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element name -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element filters -public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a filter to current list of filters -public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element filters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a group of validators -public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a validator to the element -public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the validators registered for the element -public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns an array of prepared attributes for Phalcon\\Tag helpers according to the element parameters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default attribute for the element -public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an attribute if present -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets default attributes for the element -public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default attributes for the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets an option for the element -public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an option if present -public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets options for the element -public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the options for the element -public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element label -public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element label -public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Generate the HTML to label the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default value in case the form does not use an entity or there is no value available for the element in _POST -public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default value assigned to the element -public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element value -public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the messages that belongs to the element The element needs to be attached to a form -public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Checks whether there are messages attached to the element -public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the validation messages related to the element -public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Appends a message to the internal message list -public **clear** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **clear** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Clears every element in the form to its default value -public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Magic method __toString renders the widget without attributes \ No newline at end of file diff --git a/ja/api/Phalcon_Forms_Element_Numeric.md b/ja/api/Phalcon_Forms_Element_Numeric.md index 1b13ae0d294f..cd365f3c022b 100644 --- a/ja/api/Phalcon_Forms_Element_Numeric.md +++ b/ja/api/Phalcon_Forms_Element_Numeric.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Forms\\Element\\Numeric** -*extends* abstract class [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +*extends* abstract class [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) -*implements* [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) +*implements* [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) Source on GitHub @@ -14,130 +14,130 @@ public **render** ([*array* $attributes]) Renders the element widget returning html -public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Phalcon\\Forms\\Element constructor -public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the parent form to the element -public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the parent form to the element -public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element name -public **getName** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getName** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element name -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element filters -public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a filter to current list of filters -public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element filters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a group of validators -public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a validator to the element -public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the validators registered for the element -public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns an array of prepared attributes for Phalcon\\Tag helpers according to the element parameters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default attribute for the element -public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an attribute if present -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets default attributes for the element -public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default attributes for the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets an option for the element -public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an option if present -public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets options for the element -public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the options for the element -public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element label -public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element label -public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Generate the HTML to label the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default value in case the form does not use an entity or there is no value available for the element in _POST -public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default value assigned to the element -public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element value -public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the messages that belongs to the element The element needs to be attached to a form -public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Checks whether there are messages attached to the element -public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the validation messages related to the element -public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Appends a message to the internal message list -public **clear** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **clear** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Clears every element in the form to its default value -public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Magic method __toString renders the widget without attributes \ No newline at end of file diff --git a/pl/api/Phalcon_Cache_Frontend_Igbinary.md b/pl/api/Phalcon_Cache_Frontend_Igbinary.md index 1460a42ce867..714a96bb4de1 100644 --- a/pl/api/Phalcon_Cache_Frontend_Igbinary.md +++ b/pl/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/pl/api/Phalcon_Cli_Router_Route.md b/pl/api/Phalcon_Cli_Router_Route.md index 73e76009acee..290d5404abd8 100644 --- a/pl/api/Phalcon_Cli_Router_Route.md +++ b/pl/api/Phalcon_Cli_Router_Route.md @@ -46,7 +46,7 @@ $router->add( ``` -public [Phalcon\Cli\Router\Route](/en/3.1.2/api/Phalcon_Cli_Router_Route) **beforeMatch** (*callback* $callback) +public [Phalcon\Cli\Router\Route](/en/3.2/api/Phalcon_Cli_Router_Route) **beforeMatch** (*callback* $callback) Sets a callback that is called if the route is matched. The developer can implement any arbitrary conditions here If the callback returns false the route is treated as not matched @@ -74,7 +74,7 @@ public **getReversedPaths** () Returns the paths using positions as keys and names as values -public [Phalcon\Cli\Router\Route](/en/3.1.2/api/Phalcon_Cli_Router_Route) **convert** (*string* $name, *callable* $converter) +public [Phalcon\Cli\Router\Route](/en/3.2/api/Phalcon_Cli_Router_Route) **convert** (*string* $name, *callable* $converter) Adds a converter to perform an additional transformation for certain parameter diff --git a/pl/api/Phalcon_Cli_Task.md b/pl/api/Phalcon_Cli_Task.md index 4090d0b7bf55..15624d08810c 100644 --- a/pl/api/Phalcon_Cli_Task.md +++ b/pl/api/Phalcon_Cli_Task.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cli\\Task** -*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), [Phalcon\Cli\TaskInterface](/en/3.1.2/api/Phalcon_Cli_TaskInterface) +*implements* [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\Cli\TaskInterface](/en/3.2/api/Phalcon_Cli_TaskInterface) Source on GitHub @@ -35,22 +35,22 @@ final public **__construct** () Phalcon\\Cli\\Task constructor -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 **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Sets the event manager -public **getEventsManager** () inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **getEventsManager** () inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Returns the internal event manager -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_Config.md b/pl/api/Phalcon_Config.md index 55a3611a9d38..7b972faed1f5 100644 --- a/pl/api/Phalcon_Config.md +++ b/pl/api/Phalcon_Config.md @@ -28,6 +28,10 @@ $config = new \Phalcon\Config( ``` +## Constants + +*string* **DEFAULT_PATH_DELIMITER** + ## Methods public **__construct** ([*array* $arrayConfig]) @@ -47,6 +51,17 @@ var_dump( ``` +public **path** (*mixed* $path, [*mixed* $defaultValue], [*mixed* $delimiter]) + +Returns a value from current config using a dot separated path. + +```php +path("unknown.path", "default", "."); + +``` + public **get** (*mixed* $index, [*mixed* $defaultValue]) Gets an attribute from the configuration, if the attribute isn't defined returns null If the value is exactly null or is not defined the default value will be used instead @@ -95,7 +110,7 @@ unset($config["database"]); ``` -public **merge** ([Phalcon\Config](/en/3.1.2/api/Phalcon_Config) $config) +public **merge** ([Phalcon\Config](/en/3.2/api/Phalcon_Config) $config) Merges a configuration into the current one @@ -151,6 +166,14 @@ public static **__set_state** (*array* $data) Restores the state of a Phalcon\\Config object +public static **setPathDelimiter** ([*mixed* $delimiter]) + +Sets the default path delimiter + +public static **getPathDelimiter** () + +Gets the default path delimiter + final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) Helper method for merge configs (forwarding nested config instance) \ No newline at end of file diff --git a/pl/api/Phalcon_Config_Adapter_Ini.md b/pl/api/Phalcon_Config_Adapter_Ini.md index 8458550716fa..3576158bc75f 100644 --- a/pl/api/Phalcon_Config_Adapter_Ini.md +++ b/pl/api/Phalcon_Config_Adapter_Ini.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Config\\Adapter\\Ini** -*extends* class [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +*extends* class [Phalcon\Config](/en/3.2/api/Phalcon_Config) *implements* [Countable](http://php.net/manual/en/class.countable.php), [ArrayAccess](http://php.net/manual/en/class.arrayaccess.php) @@ -51,6 +51,10 @@ $config = new \Phalcon\Config\Adapter\Ini( ``` +## Constants + +*string* **DEFAULT_PATH_DELIMITER** + ## Methods public **__construct** (*mixed* $filePath, [*mixed* $mode]) @@ -81,7 +85,7 @@ protected **_cast** (*mixed* $ini) We have to cast values manually because parse_ini_file() has a poor implementation. -public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Allows to check whether an attribute is defined using the array-syntax @@ -94,7 +98,18 @@ var_dump( ``` -public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **path** (*mixed* $path, [*mixed* $defaultValue], [*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Returns a value from current config using a dot separated path. + +```php +path("unknown.path", "default", "."); + +``` + +public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute from the configuration, if the attribute isn't defined returns null If the value is exactly null or is not defined the default value will be used instead @@ -105,7 +120,7 @@ echo $config->get("controllersDir", "../app/controllers/"); ``` -public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute using the array-syntax @@ -118,7 +133,7 @@ print_r( ``` -public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Sets an attribute using the array-syntax @@ -131,7 +146,7 @@ $config["database"] = [ ``` -public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Unsets an attribute using the array-syntax @@ -142,7 +157,7 @@ unset($config["database"]); ``` -public **merge** ([Phalcon\Config](/en/3.1.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **merge** ([Phalcon\Config](/en/3.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Merges a configuration into the current one @@ -161,7 +176,7 @@ $globalConfig->merge($appConfig); ``` -public **toArray** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **toArray** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Converts recursively the object to an array @@ -174,7 +189,7 @@ print_r( ``` -public **count** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **count** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Returns the count of properties set in the config @@ -194,10 +209,18 @@ print $config->count(); ``` -public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Restores the state of a Phalcon\\Config object -final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **setPathDelimiter** ([*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Sets the default path delimiter + +public static **getPathDelimiter** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Gets the default path delimiter + +final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Helper method for merge configs (forwarding nested config instance) \ No newline at end of file diff --git a/pl/api/Phalcon_Config_Adapter_Json.md b/pl/api/Phalcon_Config_Adapter_Json.md index 37d4418b4241..860df550aee3 100644 --- a/pl/api/Phalcon_Config_Adapter_Json.md +++ b/pl/api/Phalcon_Config_Adapter_Json.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Config\\Adapter\\Json** -*extends* class [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +*extends* class [Phalcon\Config](/en/3.2/api/Phalcon_Config) *implements* [Countable](http://php.net/manual/en/class.countable.php), [ArrayAccess](http://php.net/manual/en/class.arrayaccess.php) @@ -29,13 +29,17 @@ echo $config->models->metadata; ``` +## Constants + +*string* **DEFAULT_PATH_DELIMITER** + ## Methods public **__construct** (*mixed* $filePath) Phalcon\\Config\\Adapter\\Json constructor -public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Allows to check whether an attribute is defined using the array-syntax @@ -48,7 +52,18 @@ var_dump( ``` -public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **path** (*mixed* $path, [*mixed* $defaultValue], [*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Returns a value from current config using a dot separated path. + +```php +path("unknown.path", "default", "."); + +``` + +public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute from the configuration, if the attribute isn't defined returns null If the value is exactly null or is not defined the default value will be used instead @@ -59,7 +74,7 @@ echo $config->get("controllersDir", "../app/controllers/"); ``` -public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute using the array-syntax @@ -72,7 +87,7 @@ print_r( ``` -public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Sets an attribute using the array-syntax @@ -85,7 +100,7 @@ $config["database"] = [ ``` -public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Unsets an attribute using the array-syntax @@ -96,7 +111,7 @@ unset($config["database"]); ``` -public **merge** ([Phalcon\Config](/en/3.1.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **merge** ([Phalcon\Config](/en/3.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Merges a configuration into the current one @@ -115,7 +130,7 @@ $globalConfig->merge($appConfig); ``` -public **toArray** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **toArray** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Converts recursively the object to an array @@ -128,7 +143,7 @@ print_r( ``` -public **count** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **count** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Returns the count of properties set in the config @@ -148,10 +163,18 @@ print $config->count(); ``` -public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Restores the state of a Phalcon\\Config object -final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **setPathDelimiter** ([*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Sets the default path delimiter + +public static **getPathDelimiter** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Gets the default path delimiter + +final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Helper method for merge configs (forwarding nested config instance) \ No newline at end of file diff --git a/pl/api/Phalcon_Config_Adapter_Php.md b/pl/api/Phalcon_Config_Adapter_Php.md index d2dbf0e51bc1..844d5a6cdd20 100644 --- a/pl/api/Phalcon_Config_Adapter_Php.md +++ b/pl/api/Phalcon_Config_Adapter_Php.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Config\\Adapter\\Php** -*extends* class [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +*extends* class [Phalcon\Config](/en/3.2/api/Phalcon_Config) *implements* [Countable](http://php.net/manual/en/class.countable.php), [ArrayAccess](http://php.net/manual/en/class.arrayaccess.php) @@ -44,13 +44,17 @@ echo $config->database->username; ``` +## Constants + +*string* **DEFAULT_PATH_DELIMITER** + ## Methods public **__construct** (*mixed* $filePath) Phalcon\\Config\\Adapter\\Php constructor -public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Allows to check whether an attribute is defined using the array-syntax @@ -63,7 +67,18 @@ var_dump( ``` -public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **path** (*mixed* $path, [*mixed* $defaultValue], [*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Returns a value from current config using a dot separated path. + +```php +path("unknown.path", "default", "."); + +``` + +public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute from the configuration, if the attribute isn't defined returns null If the value is exactly null or is not defined the default value will be used instead @@ -74,7 +89,7 @@ echo $config->get("controllersDir", "../app/controllers/"); ``` -public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute using the array-syntax @@ -87,7 +102,7 @@ print_r( ``` -public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Sets an attribute using the array-syntax @@ -100,7 +115,7 @@ $config["database"] = [ ``` -public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Unsets an attribute using the array-syntax @@ -111,7 +126,7 @@ unset($config["database"]); ``` -public **merge** ([Phalcon\Config](/en/3.1.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **merge** ([Phalcon\Config](/en/3.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Merges a configuration into the current one @@ -130,7 +145,7 @@ $globalConfig->merge($appConfig); ``` -public **toArray** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **toArray** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Converts recursively the object to an array @@ -143,7 +158,7 @@ print_r( ``` -public **count** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **count** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Returns the count of properties set in the config @@ -163,10 +178,18 @@ print $config->count(); ``` -public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Restores the state of a Phalcon\\Config object -final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **setPathDelimiter** ([*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Sets the default path delimiter + +public static **getPathDelimiter** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Gets the default path delimiter + +final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Helper method for merge configs (forwarding nested config instance) \ No newline at end of file diff --git a/pl/api/Phalcon_Config_Adapter_Yaml.md b/pl/api/Phalcon_Config_Adapter_Yaml.md index a63e7a518e4d..1955bc04918c 100644 --- a/pl/api/Phalcon_Config_Adapter_Yaml.md +++ b/pl/api/Phalcon_Config_Adapter_Yaml.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Config\\Adapter\\Yaml** -*extends* class [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +*extends* class [Phalcon\Config](/en/3.2/api/Phalcon_Config) *implements* [Countable](http://php.net/manual/en/class.countable.php), [ArrayAccess](http://php.net/manual/en/class.arrayaccess.php) @@ -46,13 +46,17 @@ echo $config->models->metadata; ``` +## Constants + +*string* **DEFAULT_PATH_DELIMITER** + ## Methods public **__construct** (*mixed* $filePath, [*array* $callbacks]) Phalcon\\Config\\Adapter\\Yaml constructor -public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Allows to check whether an attribute is defined using the array-syntax @@ -65,7 +69,18 @@ var_dump( ``` -public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **path** (*mixed* $path, [*mixed* $defaultValue], [*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Returns a value from current config using a dot separated path. + +```php +path("unknown.path", "default", "."); + +``` + +public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute from the configuration, if the attribute isn't defined returns null If the value is exactly null or is not defined the default value will be used instead @@ -76,7 +91,7 @@ echo $config->get("controllersDir", "../app/controllers/"); ``` -public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute using the array-syntax @@ -89,7 +104,7 @@ print_r( ``` -public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Sets an attribute using the array-syntax @@ -102,7 +117,7 @@ $config["database"] = [ ``` -public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Unsets an attribute using the array-syntax @@ -113,7 +128,7 @@ unset($config["database"]); ``` -public **merge** ([Phalcon\Config](/en/3.1.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **merge** ([Phalcon\Config](/en/3.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Merges a configuration into the current one @@ -132,7 +147,7 @@ $globalConfig->merge($appConfig); ``` -public **toArray** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **toArray** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Converts recursively the object to an array @@ -145,7 +160,7 @@ print_r( ``` -public **count** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **count** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Returns the count of properties set in the config @@ -165,10 +180,18 @@ print $config->count(); ``` -public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Restores the state of a Phalcon\\Config object -final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **setPathDelimiter** ([*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Sets the default path delimiter + +public static **getPathDelimiter** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Gets the default path delimiter + +final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Helper method for merge configs (forwarding nested config instance) \ No newline at end of file diff --git a/pl/api/Phalcon_Config_Exception.md b/pl/api/Phalcon_Config_Exception.md index fe180ca140c2..870c720975df 100644 --- a/pl/api/Phalcon_Config_Exception.md +++ b/pl/api/Phalcon_Config_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Config\\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_Crypt.md b/pl/api/Phalcon_Crypt.md index 02729550912f..348e1401a9a0 100644 --- a/pl/api/Phalcon_Crypt.md +++ b/pl/api/Phalcon_Crypt.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Crypt** -*implements* [Phalcon\CryptInterface](/en/3.1.2/api/Phalcon_CryptInterface) +*implements* [Phalcon\CryptInterface](/en/3.2/api/Phalcon_CryptInterface) Source on GitHub diff --git a/pl/api/Phalcon_Crypt_Exception.md b/pl/api/Phalcon_Crypt_Exception.md index 677b1db3e78e..ea2a2af5ed7e 100644 --- a/pl/api/Phalcon_Crypt_Exception.md +++ b/pl/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/pl/api/Phalcon_Flash_Direct.md b/pl/api/Phalcon_Flash_Direct.md index 5563e108b68e..9b8045cf2a4e 100644 --- a/pl/api/Phalcon_Flash_Direct.md +++ b/pl/api/Phalcon_Flash_Direct.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Flash\\Direct** -*extends* abstract class [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +*extends* abstract class [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) -*implements* [Phalcon\Di\InjectionAwareInterface](/en/3.1.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\FlashInterface](/en/3.1.2/api/Phalcon_FlashInterface) +*implements* [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\FlashInterface](/en/3.2/api/Phalcon_FlashInterface) Source on GitHub @@ -18,47 +18,47 @@ public **output** ([*mixed* $remove]) Prints the messages accumulated in the flasher -public **__construct** ([*mixed* $cssClasses]) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **__construct** ([*mixed* $cssClasses]) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Phalcon\\Flash constructor -public **getAutoescape** () inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **getAutoescape** () inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Returns the autoescape mode in generated html -public **setAutoescape** (*mixed* $autoescape) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **setAutoescape** (*mixed* $autoescape) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Set the autoescape mode in generated html -public **getEscaperService** () inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **getEscaperService** () inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Returns the Escaper Service -public **setEscaperService** ([Phalcon\EscaperInterface](/en/3.1.2/api/Phalcon_EscaperInterface) $escaperService) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **setEscaperService** ([Phalcon\EscaperInterface](/en/3.2/api/Phalcon_EscaperInterface) $escaperService) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Sets the Escaper Service -public **setDI** ([Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **setDI** ([Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Sets the dependency injector -public **getDI** () inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **getDI** () inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Returns the internal dependency injector -public **setImplicitFlush** (*mixed* $implicitFlush) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **setImplicitFlush** (*mixed* $implicitFlush) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Set whether the output must be implicitly flushed to the output or returned as string -public **setAutomaticHtml** (*mixed* $automaticHtml) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **setAutomaticHtml** (*mixed* $automaticHtml) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Set if the output must be implicitly formatted with HTML -public **setCssClasses** (*array* $cssClasses) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **setCssClasses** (*array* $cssClasses) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Set an array with CSS classes to format the messages -public **error** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **error** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Shows a HTML error message @@ -69,7 +69,7 @@ $flash->error("This is an error"); ``` -public **notice** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **notice** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Shows a HTML notice/information message @@ -80,7 +80,7 @@ $flash->notice("This is an information"); ``` -public **success** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **success** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Shows a HTML success message @@ -91,7 +91,7 @@ $flash->success("The process was finished successfully"); ``` -public **warning** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **warning** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Shows a HTML warning message @@ -102,7 +102,7 @@ $flash->warning("Hey, this is important"); ``` -public *string* | *void* **outputMessage** (*mixed* $type, *string* | *array* $message) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public *string* | *void* **outputMessage** (*mixed* $type, *string* | *array* $message) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Outputs a message formatting it with HTML @@ -113,6 +113,6 @@ $flash->outputMessage("error", $message); ``` -public **clear** () inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **clear** () inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Clears accumulated messages when implicit flush is disabled \ No newline at end of file diff --git a/pl/api/Phalcon_Forms_ElementInterface.md b/pl/api/Phalcon_Forms_ElementInterface.md index bde079440bdc..8108787311a9 100644 --- a/pl/api/Phalcon_Forms_ElementInterface.md +++ b/pl/api/Phalcon_Forms_ElementInterface.md @@ -4,7 +4,7 @@ ## Methods -abstract public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) +abstract public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) ... @@ -36,7 +36,7 @@ abstract public **addValidators** (*array* $validators, [*mixed* $merge]) ... -abstract public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) +abstract public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) ... @@ -112,11 +112,11 @@ abstract public **hasMessages** () ... -abstract public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) +abstract public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) ... -abstract public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) +abstract public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) ... diff --git a/pl/api/Phalcon_Forms_Element_Check.md b/pl/api/Phalcon_Forms_Element_Check.md index f7f53cada4b4..320a3d0b2bed 100644 --- a/pl/api/Phalcon_Forms_Element_Check.md +++ b/pl/api/Phalcon_Forms_Element_Check.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Forms\\Element\\Check** -*extends* abstract class [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +*extends* abstract class [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) -*implements* [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) +*implements* [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) Source on GitHub @@ -14,130 +14,130 @@ public **render** ([*array* $attributes]) Renders the element widget returning html -public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Phalcon\\Forms\\Element constructor -public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the parent form to the element -public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the parent form to the element -public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element name -public **getName** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getName** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element name -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element filters -public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a filter to current list of filters -public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element filters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a group of validators -public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a validator to the element -public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the validators registered for the element -public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns an array of prepared attributes for Phalcon\\Tag helpers according to the element parameters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default attribute for the element -public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an attribute if present -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets default attributes for the element -public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default attributes for the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets an option for the element -public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an option if present -public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets options for the element -public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the options for the element -public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element label -public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element label -public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Generate the HTML to label the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default value in case the form does not use an entity or there is no value available for the element in _POST -public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default value assigned to the element -public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element value -public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the messages that belongs to the element The element needs to be attached to a form -public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Checks whether there are messages attached to the element -public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the validation messages related to the element -public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Appends a message to the internal message list -public **clear** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **clear** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Clears every element in the form to its default value -public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Magic method __toString renders the widget without attributes \ No newline at end of file diff --git a/pl/api/Phalcon_Forms_Element_Date.md b/pl/api/Phalcon_Forms_Element_Date.md index 9bdd42965358..701a6b5ffe81 100644 --- a/pl/api/Phalcon_Forms_Element_Date.md +++ b/pl/api/Phalcon_Forms_Element_Date.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Forms\\Element\\Date** -*extends* abstract class [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +*extends* abstract class [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) -*implements* [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) +*implements* [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) Source on GitHub @@ -14,130 +14,130 @@ public **render** ([*array* $attributes]) Renders the element widget returning html -public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Phalcon\\Forms\\Element constructor -public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the parent form to the element -public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the parent form to the element -public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element name -public **getName** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getName** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element name -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element filters -public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a filter to current list of filters -public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element filters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a group of validators -public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a validator to the element -public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the validators registered for the element -public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns an array of prepared attributes for Phalcon\\Tag helpers according to the element parameters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default attribute for the element -public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an attribute if present -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets default attributes for the element -public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default attributes for the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets an option for the element -public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an option if present -public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets options for the element -public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the options for the element -public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element label -public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element label -public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Generate the HTML to label the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default value in case the form does not use an entity or there is no value available for the element in _POST -public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default value assigned to the element -public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element value -public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the messages that belongs to the element The element needs to be attached to a form -public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Checks whether there are messages attached to the element -public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the validation messages related to the element -public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Appends a message to the internal message list -public **clear** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **clear** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Clears every element in the form to its default value -public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Magic method __toString renders the widget without attributes \ No newline at end of file diff --git a/pl/api/Phalcon_Forms_Element_Email.md b/pl/api/Phalcon_Forms_Element_Email.md index 46e6c4dd0910..e732f646f360 100644 --- a/pl/api/Phalcon_Forms_Element_Email.md +++ b/pl/api/Phalcon_Forms_Element_Email.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Forms\\Element\\Email** -*extends* abstract class [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +*extends* abstract class [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) -*implements* [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) +*implements* [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) Source on GitHub @@ -14,130 +14,130 @@ public **render** ([*array* $attributes]) Renders the element widget returning html -public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Phalcon\\Forms\\Element constructor -public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the parent form to the element -public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the parent form to the element -public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element name -public **getName** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getName** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element name -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element filters -public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a filter to current list of filters -public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element filters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a group of validators -public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a validator to the element -public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the validators registered for the element -public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns an array of prepared attributes for Phalcon\\Tag helpers according to the element parameters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default attribute for the element -public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an attribute if present -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets default attributes for the element -public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default attributes for the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets an option for the element -public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an option if present -public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets options for the element -public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the options for the element -public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element label -public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element label -public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Generate the HTML to label the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default value in case the form does not use an entity or there is no value available for the element in _POST -public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default value assigned to the element -public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element value -public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the messages that belongs to the element The element needs to be attached to a form -public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Checks whether there are messages attached to the element -public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the validation messages related to the element -public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Appends a message to the internal message list -public **clear** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **clear** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Clears every element in the form to its default value -public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Magic method __toString renders the widget without attributes \ No newline at end of file diff --git a/pl/api/Phalcon_Forms_Element_File.md b/pl/api/Phalcon_Forms_Element_File.md index 04fceec03b0d..b81797926b6f 100644 --- a/pl/api/Phalcon_Forms_Element_File.md +++ b/pl/api/Phalcon_Forms_Element_File.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Forms\\Element\\File** -*extends* abstract class [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +*extends* abstract class [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) -*implements* [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) +*implements* [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) Source on GitHub @@ -14,130 +14,130 @@ public **render** ([*array* $attributes]) Renders the element widget returning html -public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Phalcon\\Forms\\Element constructor -public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the parent form to the element -public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the parent form to the element -public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element name -public **getName** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getName** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element name -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element filters -public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a filter to current list of filters -public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element filters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a group of validators -public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a validator to the element -public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the validators registered for the element -public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns an array of prepared attributes for Phalcon\\Tag helpers according to the element parameters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default attribute for the element -public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an attribute if present -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets default attributes for the element -public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default attributes for the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets an option for the element -public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an option if present -public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets options for the element -public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the options for the element -public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element label -public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element label -public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Generate the HTML to label the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default value in case the form does not use an entity or there is no value available for the element in _POST -public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default value assigned to the element -public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element value -public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the messages that belongs to the element The element needs to be attached to a form -public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Checks whether there are messages attached to the element -public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the validation messages related to the element -public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Appends a message to the internal message list -public **clear** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **clear** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Clears every element in the form to its default value -public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Magic method __toString renders the widget without attributes \ No newline at end of file diff --git a/pl/api/Phalcon_Forms_Element_Hidden.md b/pl/api/Phalcon_Forms_Element_Hidden.md index 317e3fe554b8..91457ea53c89 100644 --- a/pl/api/Phalcon_Forms_Element_Hidden.md +++ b/pl/api/Phalcon_Forms_Element_Hidden.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Forms\\Element\\Hidden** -*extends* abstract class [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +*extends* abstract class [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) -*implements* [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) +*implements* [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) Source on GitHub @@ -14,130 +14,130 @@ public **render** ([*array* $attributes]) Renders the element widget returning html -public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Phalcon\\Forms\\Element constructor -public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the parent form to the element -public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the parent form to the element -public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element name -public **getName** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getName** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element name -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element filters -public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a filter to current list of filters -public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element filters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a group of validators -public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a validator to the element -public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the validators registered for the element -public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns an array of prepared attributes for Phalcon\\Tag helpers according to the element parameters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default attribute for the element -public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an attribute if present -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets default attributes for the element -public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default attributes for the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets an option for the element -public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an option if present -public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets options for the element -public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the options for the element -public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element label -public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element label -public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Generate the HTML to label the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default value in case the form does not use an entity or there is no value available for the element in _POST -public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default value assigned to the element -public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element value -public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the messages that belongs to the element The element needs to be attached to a form -public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Checks whether there are messages attached to the element -public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the validation messages related to the element -public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Appends a message to the internal message list -public **clear** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **clear** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Clears every element in the form to its default value -public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Magic method __toString renders the widget without attributes \ No newline at end of file diff --git a/pl/api/Phalcon_Forms_Element_Numeric.md b/pl/api/Phalcon_Forms_Element_Numeric.md index 1b13ae0d294f..cd365f3c022b 100644 --- a/pl/api/Phalcon_Forms_Element_Numeric.md +++ b/pl/api/Phalcon_Forms_Element_Numeric.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Forms\\Element\\Numeric** -*extends* abstract class [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +*extends* abstract class [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) -*implements* [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) +*implements* [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) Source on GitHub @@ -14,130 +14,130 @@ public **render** ([*array* $attributes]) Renders the element widget returning html -public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Phalcon\\Forms\\Element constructor -public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the parent form to the element -public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the parent form to the element -public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element name -public **getName** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getName** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element name -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element filters -public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a filter to current list of filters -public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element filters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a group of validators -public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a validator to the element -public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the validators registered for the element -public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns an array of prepared attributes for Phalcon\\Tag helpers according to the element parameters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default attribute for the element -public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an attribute if present -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets default attributes for the element -public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default attributes for the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets an option for the element -public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an option if present -public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets options for the element -public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the options for the element -public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element label -public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element label -public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Generate the HTML to label the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default value in case the form does not use an entity or there is no value available for the element in _POST -public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default value assigned to the element -public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element value -public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the messages that belongs to the element The element needs to be attached to a form -public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Checks whether there are messages attached to the element -public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the validation messages related to the element -public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Appends a message to the internal message list -public **clear** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **clear** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Clears every element in the form to its default value -public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Magic method __toString renders the widget without attributes \ No newline at end of file diff --git a/pt/api/Phalcon_Cli_Router_Route.md b/pt/api/Phalcon_Cli_Router_Route.md index 73e76009acee..290d5404abd8 100644 --- a/pt/api/Phalcon_Cli_Router_Route.md +++ b/pt/api/Phalcon_Cli_Router_Route.md @@ -46,7 +46,7 @@ $router->add( ``` -public [Phalcon\Cli\Router\Route](/en/3.1.2/api/Phalcon_Cli_Router_Route) **beforeMatch** (*callback* $callback) +public [Phalcon\Cli\Router\Route](/en/3.2/api/Phalcon_Cli_Router_Route) **beforeMatch** (*callback* $callback) Sets a callback that is called if the route is matched. The developer can implement any arbitrary conditions here If the callback returns false the route is treated as not matched @@ -74,7 +74,7 @@ public **getReversedPaths** () Returns the paths using positions as keys and names as values -public [Phalcon\Cli\Router\Route](/en/3.1.2/api/Phalcon_Cli_Router_Route) **convert** (*string* $name, *callable* $converter) +public [Phalcon\Cli\Router\Route](/en/3.2/api/Phalcon_Cli_Router_Route) **convert** (*string* $name, *callable* $converter) Adds a converter to perform an additional transformation for certain parameter diff --git a/pt/api/Phalcon_Cli_Task.md b/pt/api/Phalcon_Cli_Task.md index 4090d0b7bf55..15624d08810c 100644 --- a/pt/api/Phalcon_Cli_Task.md +++ b/pt/api/Phalcon_Cli_Task.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cli\\Task** -*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), [Phalcon\Cli\TaskInterface](/en/3.1.2/api/Phalcon_Cli_TaskInterface) +*implements* [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\Cli\TaskInterface](/en/3.2/api/Phalcon_Cli_TaskInterface) Source on GitHub @@ -35,22 +35,22 @@ final public **__construct** () Phalcon\\Cli\\Task constructor -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 **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Sets the event manager -public **getEventsManager** () inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **getEventsManager** () inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Returns the internal event manager -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_Config.md b/pt/api/Phalcon_Config.md index 55a3611a9d38..7b972faed1f5 100644 --- a/pt/api/Phalcon_Config.md +++ b/pt/api/Phalcon_Config.md @@ -28,6 +28,10 @@ $config = new \Phalcon\Config( ``` +## Constants + +*string* **DEFAULT_PATH_DELIMITER** + ## Methods public **__construct** ([*array* $arrayConfig]) @@ -47,6 +51,17 @@ var_dump( ``` +public **path** (*mixed* $path, [*mixed* $defaultValue], [*mixed* $delimiter]) + +Returns a value from current config using a dot separated path. + +```php +path("unknown.path", "default", "."); + +``` + public **get** (*mixed* $index, [*mixed* $defaultValue]) Gets an attribute from the configuration, if the attribute isn't defined returns null If the value is exactly null or is not defined the default value will be used instead @@ -95,7 +110,7 @@ unset($config["database"]); ``` -public **merge** ([Phalcon\Config](/en/3.1.2/api/Phalcon_Config) $config) +public **merge** ([Phalcon\Config](/en/3.2/api/Phalcon_Config) $config) Merges a configuration into the current one @@ -151,6 +166,14 @@ public static **__set_state** (*array* $data) Restores the state of a Phalcon\\Config object +public static **setPathDelimiter** ([*mixed* $delimiter]) + +Sets the default path delimiter + +public static **getPathDelimiter** () + +Gets the default path delimiter + final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) Helper method for merge configs (forwarding nested config instance) \ No newline at end of file diff --git a/pt/api/Phalcon_Config_Adapter_Ini.md b/pt/api/Phalcon_Config_Adapter_Ini.md index 8458550716fa..3576158bc75f 100644 --- a/pt/api/Phalcon_Config_Adapter_Ini.md +++ b/pt/api/Phalcon_Config_Adapter_Ini.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Config\\Adapter\\Ini** -*extends* class [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +*extends* class [Phalcon\Config](/en/3.2/api/Phalcon_Config) *implements* [Countable](http://php.net/manual/en/class.countable.php), [ArrayAccess](http://php.net/manual/en/class.arrayaccess.php) @@ -51,6 +51,10 @@ $config = new \Phalcon\Config\Adapter\Ini( ``` +## Constants + +*string* **DEFAULT_PATH_DELIMITER** + ## Methods public **__construct** (*mixed* $filePath, [*mixed* $mode]) @@ -81,7 +85,7 @@ protected **_cast** (*mixed* $ini) We have to cast values manually because parse_ini_file() has a poor implementation. -public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Allows to check whether an attribute is defined using the array-syntax @@ -94,7 +98,18 @@ var_dump( ``` -public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **path** (*mixed* $path, [*mixed* $defaultValue], [*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Returns a value from current config using a dot separated path. + +```php +path("unknown.path", "default", "."); + +``` + +public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute from the configuration, if the attribute isn't defined returns null If the value is exactly null or is not defined the default value will be used instead @@ -105,7 +120,7 @@ echo $config->get("controllersDir", "../app/controllers/"); ``` -public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute using the array-syntax @@ -118,7 +133,7 @@ print_r( ``` -public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Sets an attribute using the array-syntax @@ -131,7 +146,7 @@ $config["database"] = [ ``` -public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Unsets an attribute using the array-syntax @@ -142,7 +157,7 @@ unset($config["database"]); ``` -public **merge** ([Phalcon\Config](/en/3.1.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **merge** ([Phalcon\Config](/en/3.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Merges a configuration into the current one @@ -161,7 +176,7 @@ $globalConfig->merge($appConfig); ``` -public **toArray** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **toArray** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Converts recursively the object to an array @@ -174,7 +189,7 @@ print_r( ``` -public **count** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **count** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Returns the count of properties set in the config @@ -194,10 +209,18 @@ print $config->count(); ``` -public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Restores the state of a Phalcon\\Config object -final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **setPathDelimiter** ([*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Sets the default path delimiter + +public static **getPathDelimiter** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Gets the default path delimiter + +final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Helper method for merge configs (forwarding nested config instance) \ No newline at end of file diff --git a/pt/api/Phalcon_Config_Adapter_Json.md b/pt/api/Phalcon_Config_Adapter_Json.md index 37d4418b4241..860df550aee3 100644 --- a/pt/api/Phalcon_Config_Adapter_Json.md +++ b/pt/api/Phalcon_Config_Adapter_Json.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Config\\Adapter\\Json** -*extends* class [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +*extends* class [Phalcon\Config](/en/3.2/api/Phalcon_Config) *implements* [Countable](http://php.net/manual/en/class.countable.php), [ArrayAccess](http://php.net/manual/en/class.arrayaccess.php) @@ -29,13 +29,17 @@ echo $config->models->metadata; ``` +## Constants + +*string* **DEFAULT_PATH_DELIMITER** + ## Methods public **__construct** (*mixed* $filePath) Phalcon\\Config\\Adapter\\Json constructor -public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Allows to check whether an attribute is defined using the array-syntax @@ -48,7 +52,18 @@ var_dump( ``` -public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **path** (*mixed* $path, [*mixed* $defaultValue], [*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Returns a value from current config using a dot separated path. + +```php +path("unknown.path", "default", "."); + +``` + +public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute from the configuration, if the attribute isn't defined returns null If the value is exactly null or is not defined the default value will be used instead @@ -59,7 +74,7 @@ echo $config->get("controllersDir", "../app/controllers/"); ``` -public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute using the array-syntax @@ -72,7 +87,7 @@ print_r( ``` -public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Sets an attribute using the array-syntax @@ -85,7 +100,7 @@ $config["database"] = [ ``` -public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Unsets an attribute using the array-syntax @@ -96,7 +111,7 @@ unset($config["database"]); ``` -public **merge** ([Phalcon\Config](/en/3.1.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **merge** ([Phalcon\Config](/en/3.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Merges a configuration into the current one @@ -115,7 +130,7 @@ $globalConfig->merge($appConfig); ``` -public **toArray** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **toArray** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Converts recursively the object to an array @@ -128,7 +143,7 @@ print_r( ``` -public **count** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **count** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Returns the count of properties set in the config @@ -148,10 +163,18 @@ print $config->count(); ``` -public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Restores the state of a Phalcon\\Config object -final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **setPathDelimiter** ([*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Sets the default path delimiter + +public static **getPathDelimiter** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Gets the default path delimiter + +final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Helper method for merge configs (forwarding nested config instance) \ No newline at end of file diff --git a/pt/api/Phalcon_Config_Adapter_Php.md b/pt/api/Phalcon_Config_Adapter_Php.md index d2dbf0e51bc1..844d5a6cdd20 100644 --- a/pt/api/Phalcon_Config_Adapter_Php.md +++ b/pt/api/Phalcon_Config_Adapter_Php.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Config\\Adapter\\Php** -*extends* class [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +*extends* class [Phalcon\Config](/en/3.2/api/Phalcon_Config) *implements* [Countable](http://php.net/manual/en/class.countable.php), [ArrayAccess](http://php.net/manual/en/class.arrayaccess.php) @@ -44,13 +44,17 @@ echo $config->database->username; ``` +## Constants + +*string* **DEFAULT_PATH_DELIMITER** + ## Methods public **__construct** (*mixed* $filePath) Phalcon\\Config\\Adapter\\Php constructor -public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Allows to check whether an attribute is defined using the array-syntax @@ -63,7 +67,18 @@ var_dump( ``` -public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **path** (*mixed* $path, [*mixed* $defaultValue], [*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Returns a value from current config using a dot separated path. + +```php +path("unknown.path", "default", "."); + +``` + +public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute from the configuration, if the attribute isn't defined returns null If the value is exactly null or is not defined the default value will be used instead @@ -74,7 +89,7 @@ echo $config->get("controllersDir", "../app/controllers/"); ``` -public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute using the array-syntax @@ -87,7 +102,7 @@ print_r( ``` -public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Sets an attribute using the array-syntax @@ -100,7 +115,7 @@ $config["database"] = [ ``` -public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Unsets an attribute using the array-syntax @@ -111,7 +126,7 @@ unset($config["database"]); ``` -public **merge** ([Phalcon\Config](/en/3.1.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **merge** ([Phalcon\Config](/en/3.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Merges a configuration into the current one @@ -130,7 +145,7 @@ $globalConfig->merge($appConfig); ``` -public **toArray** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **toArray** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Converts recursively the object to an array @@ -143,7 +158,7 @@ print_r( ``` -public **count** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **count** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Returns the count of properties set in the config @@ -163,10 +178,18 @@ print $config->count(); ``` -public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Restores the state of a Phalcon\\Config object -final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **setPathDelimiter** ([*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Sets the default path delimiter + +public static **getPathDelimiter** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Gets the default path delimiter + +final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Helper method for merge configs (forwarding nested config instance) \ No newline at end of file diff --git a/pt/api/Phalcon_Config_Adapter_Yaml.md b/pt/api/Phalcon_Config_Adapter_Yaml.md index a63e7a518e4d..1955bc04918c 100644 --- a/pt/api/Phalcon_Config_Adapter_Yaml.md +++ b/pt/api/Phalcon_Config_Adapter_Yaml.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Config\\Adapter\\Yaml** -*extends* class [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +*extends* class [Phalcon\Config](/en/3.2/api/Phalcon_Config) *implements* [Countable](http://php.net/manual/en/class.countable.php), [ArrayAccess](http://php.net/manual/en/class.arrayaccess.php) @@ -46,13 +46,17 @@ echo $config->models->metadata; ``` +## Constants + +*string* **DEFAULT_PATH_DELIMITER** + ## Methods public **__construct** (*mixed* $filePath, [*array* $callbacks]) Phalcon\\Config\\Adapter\\Yaml constructor -public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Allows to check whether an attribute is defined using the array-syntax @@ -65,7 +69,18 @@ var_dump( ``` -public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **path** (*mixed* $path, [*mixed* $defaultValue], [*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Returns a value from current config using a dot separated path. + +```php +path("unknown.path", "default", "."); + +``` + +public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute from the configuration, if the attribute isn't defined returns null If the value is exactly null or is not defined the default value will be used instead @@ -76,7 +91,7 @@ echo $config->get("controllersDir", "../app/controllers/"); ``` -public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute using the array-syntax @@ -89,7 +104,7 @@ print_r( ``` -public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Sets an attribute using the array-syntax @@ -102,7 +117,7 @@ $config["database"] = [ ``` -public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Unsets an attribute using the array-syntax @@ -113,7 +128,7 @@ unset($config["database"]); ``` -public **merge** ([Phalcon\Config](/en/3.1.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **merge** ([Phalcon\Config](/en/3.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Merges a configuration into the current one @@ -132,7 +147,7 @@ $globalConfig->merge($appConfig); ``` -public **toArray** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **toArray** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Converts recursively the object to an array @@ -145,7 +160,7 @@ print_r( ``` -public **count** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **count** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Returns the count of properties set in the config @@ -165,10 +180,18 @@ print $config->count(); ``` -public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Restores the state of a Phalcon\\Config object -final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **setPathDelimiter** ([*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Sets the default path delimiter + +public static **getPathDelimiter** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Gets the default path delimiter + +final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Helper method for merge configs (forwarding nested config instance) \ No newline at end of file diff --git a/pt/api/Phalcon_Config_Exception.md b/pt/api/Phalcon_Config_Exception.md index fe180ca140c2..870c720975df 100644 --- a/pt/api/Phalcon_Config_Exception.md +++ b/pt/api/Phalcon_Config_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Config\\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_Crypt.md b/pt/api/Phalcon_Crypt.md index 02729550912f..348e1401a9a0 100644 --- a/pt/api/Phalcon_Crypt.md +++ b/pt/api/Phalcon_Crypt.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Crypt** -*implements* [Phalcon\CryptInterface](/en/3.1.2/api/Phalcon_CryptInterface) +*implements* [Phalcon\CryptInterface](/en/3.2/api/Phalcon_CryptInterface) Source on GitHub diff --git a/pt/api/Phalcon_Crypt_Exception.md b/pt/api/Phalcon_Crypt_Exception.md index 677b1db3e78e..ea2a2af5ed7e 100644 --- a/pt/api/Phalcon_Crypt_Exception.md +++ b/pt/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/pt/api/Phalcon_Flash.md b/pt/api/Phalcon_Flash.md index 46db08bba6b6..fab60ddca1fb 100644 --- a/pt/api/Phalcon_Flash.md +++ b/pt/api/Phalcon_Flash.md @@ -1,6 +1,6 @@ # Abstract class **Phalcon\\Flash** -*implements* [Phalcon\FlashInterface](/en/3.1.2/api/Phalcon_FlashInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.1.2/api/Phalcon_Di_InjectionAwareInterface) +*implements* [Phalcon\FlashInterface](/en/3.2/api/Phalcon_FlashInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface) Source on GitHub @@ -32,11 +32,11 @@ public **getEscaperService** () Returns the Escaper Service -public **setEscaperService** ([Phalcon\EscaperInterface](/en/3.1.2/api/Phalcon_EscaperInterface) $escaperService) +public **setEscaperService** ([Phalcon\EscaperInterface](/en/3.2/api/Phalcon_EscaperInterface) $escaperService) Sets the Escaper Service -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 @@ -115,6 +115,6 @@ public **clear** () Clears accumulated messages when implicit flush is disabled -abstract public **message** (*mixed* $type, *mixed* $message) inherited from [Phalcon\FlashInterface](/en/3.1.2/api/Phalcon_FlashInterface) +abstract public **message** (*mixed* $type, *mixed* $message) inherited from [Phalcon\FlashInterface](/en/3.2/api/Phalcon_FlashInterface) ... \ No newline at end of file diff --git a/pt/api/Phalcon_Flash_Direct.md b/pt/api/Phalcon_Flash_Direct.md index 5563e108b68e..9b8045cf2a4e 100644 --- a/pt/api/Phalcon_Flash_Direct.md +++ b/pt/api/Phalcon_Flash_Direct.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Flash\\Direct** -*extends* abstract class [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +*extends* abstract class [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) -*implements* [Phalcon\Di\InjectionAwareInterface](/en/3.1.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\FlashInterface](/en/3.1.2/api/Phalcon_FlashInterface) +*implements* [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\FlashInterface](/en/3.2/api/Phalcon_FlashInterface) Source on GitHub @@ -18,47 +18,47 @@ public **output** ([*mixed* $remove]) Prints the messages accumulated in the flasher -public **__construct** ([*mixed* $cssClasses]) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **__construct** ([*mixed* $cssClasses]) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Phalcon\\Flash constructor -public **getAutoescape** () inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **getAutoescape** () inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Returns the autoescape mode in generated html -public **setAutoescape** (*mixed* $autoescape) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **setAutoescape** (*mixed* $autoescape) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Set the autoescape mode in generated html -public **getEscaperService** () inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **getEscaperService** () inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Returns the Escaper Service -public **setEscaperService** ([Phalcon\EscaperInterface](/en/3.1.2/api/Phalcon_EscaperInterface) $escaperService) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **setEscaperService** ([Phalcon\EscaperInterface](/en/3.2/api/Phalcon_EscaperInterface) $escaperService) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Sets the Escaper Service -public **setDI** ([Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **setDI** ([Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Sets the dependency injector -public **getDI** () inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **getDI** () inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Returns the internal dependency injector -public **setImplicitFlush** (*mixed* $implicitFlush) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **setImplicitFlush** (*mixed* $implicitFlush) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Set whether the output must be implicitly flushed to the output or returned as string -public **setAutomaticHtml** (*mixed* $automaticHtml) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **setAutomaticHtml** (*mixed* $automaticHtml) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Set if the output must be implicitly formatted with HTML -public **setCssClasses** (*array* $cssClasses) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **setCssClasses** (*array* $cssClasses) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Set an array with CSS classes to format the messages -public **error** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **error** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Shows a HTML error message @@ -69,7 +69,7 @@ $flash->error("This is an error"); ``` -public **notice** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **notice** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Shows a HTML notice/information message @@ -80,7 +80,7 @@ $flash->notice("This is an information"); ``` -public **success** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **success** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Shows a HTML success message @@ -91,7 +91,7 @@ $flash->success("The process was finished successfully"); ``` -public **warning** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **warning** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Shows a HTML warning message @@ -102,7 +102,7 @@ $flash->warning("Hey, this is important"); ``` -public *string* | *void* **outputMessage** (*mixed* $type, *string* | *array* $message) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public *string* | *void* **outputMessage** (*mixed* $type, *string* | *array* $message) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Outputs a message formatting it with HTML @@ -113,6 +113,6 @@ $flash->outputMessage("error", $message); ``` -public **clear** () inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **clear** () inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Clears accumulated messages when implicit flush is disabled \ No newline at end of file diff --git a/pt/api/Phalcon_Forms_ElementInterface.md b/pt/api/Phalcon_Forms_ElementInterface.md index bde079440bdc..8108787311a9 100644 --- a/pt/api/Phalcon_Forms_ElementInterface.md +++ b/pt/api/Phalcon_Forms_ElementInterface.md @@ -4,7 +4,7 @@ ## Methods -abstract public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) +abstract public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) ... @@ -36,7 +36,7 @@ abstract public **addValidators** (*array* $validators, [*mixed* $merge]) ... -abstract public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) +abstract public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) ... @@ -112,11 +112,11 @@ abstract public **hasMessages** () ... -abstract public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) +abstract public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) ... -abstract public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) +abstract public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) ... diff --git a/pt/api/Phalcon_Forms_Element_Check.md b/pt/api/Phalcon_Forms_Element_Check.md index f7f53cada4b4..320a3d0b2bed 100644 --- a/pt/api/Phalcon_Forms_Element_Check.md +++ b/pt/api/Phalcon_Forms_Element_Check.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Forms\\Element\\Check** -*extends* abstract class [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +*extends* abstract class [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) -*implements* [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) +*implements* [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) Source on GitHub @@ -14,130 +14,130 @@ public **render** ([*array* $attributes]) Renders the element widget returning html -public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Phalcon\\Forms\\Element constructor -public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the parent form to the element -public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the parent form to the element -public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element name -public **getName** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getName** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element name -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element filters -public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a filter to current list of filters -public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element filters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a group of validators -public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a validator to the element -public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the validators registered for the element -public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns an array of prepared attributes for Phalcon\\Tag helpers according to the element parameters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default attribute for the element -public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an attribute if present -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets default attributes for the element -public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default attributes for the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets an option for the element -public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an option if present -public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets options for the element -public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the options for the element -public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element label -public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element label -public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Generate the HTML to label the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default value in case the form does not use an entity or there is no value available for the element in _POST -public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default value assigned to the element -public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element value -public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the messages that belongs to the element The element needs to be attached to a form -public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Checks whether there are messages attached to the element -public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the validation messages related to the element -public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Appends a message to the internal message list -public **clear** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **clear** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Clears every element in the form to its default value -public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Magic method __toString renders the widget without attributes \ No newline at end of file diff --git a/pt/api/Phalcon_Forms_Element_Date.md b/pt/api/Phalcon_Forms_Element_Date.md index 9bdd42965358..701a6b5ffe81 100644 --- a/pt/api/Phalcon_Forms_Element_Date.md +++ b/pt/api/Phalcon_Forms_Element_Date.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Forms\\Element\\Date** -*extends* abstract class [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +*extends* abstract class [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) -*implements* [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) +*implements* [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) Source on GitHub @@ -14,130 +14,130 @@ public **render** ([*array* $attributes]) Renders the element widget returning html -public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Phalcon\\Forms\\Element constructor -public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the parent form to the element -public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the parent form to the element -public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element name -public **getName** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getName** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element name -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element filters -public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a filter to current list of filters -public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element filters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a group of validators -public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a validator to the element -public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the validators registered for the element -public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns an array of prepared attributes for Phalcon\\Tag helpers according to the element parameters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default attribute for the element -public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an attribute if present -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets default attributes for the element -public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default attributes for the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets an option for the element -public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an option if present -public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets options for the element -public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the options for the element -public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element label -public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element label -public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Generate the HTML to label the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default value in case the form does not use an entity or there is no value available for the element in _POST -public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default value assigned to the element -public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element value -public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the messages that belongs to the element The element needs to be attached to a form -public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Checks whether there are messages attached to the element -public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the validation messages related to the element -public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Appends a message to the internal message list -public **clear** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **clear** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Clears every element in the form to its default value -public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Magic method __toString renders the widget without attributes \ No newline at end of file diff --git a/pt/api/Phalcon_Forms_Element_Email.md b/pt/api/Phalcon_Forms_Element_Email.md index 46e6c4dd0910..e732f646f360 100644 --- a/pt/api/Phalcon_Forms_Element_Email.md +++ b/pt/api/Phalcon_Forms_Element_Email.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Forms\\Element\\Email** -*extends* abstract class [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +*extends* abstract class [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) -*implements* [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) +*implements* [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) Source on GitHub @@ -14,130 +14,130 @@ public **render** ([*array* $attributes]) Renders the element widget returning html -public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Phalcon\\Forms\\Element constructor -public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the parent form to the element -public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the parent form to the element -public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element name -public **getName** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getName** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element name -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element filters -public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a filter to current list of filters -public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element filters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a group of validators -public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a validator to the element -public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the validators registered for the element -public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns an array of prepared attributes for Phalcon\\Tag helpers according to the element parameters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default attribute for the element -public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an attribute if present -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets default attributes for the element -public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default attributes for the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets an option for the element -public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an option if present -public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets options for the element -public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the options for the element -public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element label -public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element label -public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Generate the HTML to label the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default value in case the form does not use an entity or there is no value available for the element in _POST -public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default value assigned to the element -public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element value -public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the messages that belongs to the element The element needs to be attached to a form -public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Checks whether there are messages attached to the element -public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the validation messages related to the element -public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Appends a message to the internal message list -public **clear** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **clear** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Clears every element in the form to its default value -public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Magic method __toString renders the widget without attributes \ No newline at end of file diff --git a/pt/api/Phalcon_Forms_Element_File.md b/pt/api/Phalcon_Forms_Element_File.md index 04fceec03b0d..b81797926b6f 100644 --- a/pt/api/Phalcon_Forms_Element_File.md +++ b/pt/api/Phalcon_Forms_Element_File.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Forms\\Element\\File** -*extends* abstract class [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +*extends* abstract class [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) -*implements* [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) +*implements* [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) Source on GitHub @@ -14,130 +14,130 @@ public **render** ([*array* $attributes]) Renders the element widget returning html -public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Phalcon\\Forms\\Element constructor -public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the parent form to the element -public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the parent form to the element -public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element name -public **getName** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getName** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element name -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element filters -public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a filter to current list of filters -public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element filters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a group of validators -public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a validator to the element -public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the validators registered for the element -public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns an array of prepared attributes for Phalcon\\Tag helpers according to the element parameters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default attribute for the element -public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an attribute if present -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets default attributes for the element -public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default attributes for the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets an option for the element -public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an option if present -public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets options for the element -public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the options for the element -public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element label -public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element label -public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Generate the HTML to label the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default value in case the form does not use an entity or there is no value available for the element in _POST -public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default value assigned to the element -public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element value -public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the messages that belongs to the element The element needs to be attached to a form -public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Checks whether there are messages attached to the element -public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the validation messages related to the element -public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Appends a message to the internal message list -public **clear** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **clear** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Clears every element in the form to its default value -public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Magic method __toString renders the widget without attributes \ No newline at end of file diff --git a/pt/api/Phalcon_Forms_Element_Hidden.md b/pt/api/Phalcon_Forms_Element_Hidden.md index 317e3fe554b8..91457ea53c89 100644 --- a/pt/api/Phalcon_Forms_Element_Hidden.md +++ b/pt/api/Phalcon_Forms_Element_Hidden.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Forms\\Element\\Hidden** -*extends* abstract class [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +*extends* abstract class [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) -*implements* [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) +*implements* [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) Source on GitHub @@ -14,130 +14,130 @@ public **render** ([*array* $attributes]) Renders the element widget returning html -public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Phalcon\\Forms\\Element constructor -public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the parent form to the element -public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the parent form to the element -public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element name -public **getName** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getName** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element name -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element filters -public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a filter to current list of filters -public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element filters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a group of validators -public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a validator to the element -public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the validators registered for the element -public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns an array of prepared attributes for Phalcon\\Tag helpers according to the element parameters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default attribute for the element -public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an attribute if present -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets default attributes for the element -public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default attributes for the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets an option for the element -public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an option if present -public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets options for the element -public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the options for the element -public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element label -public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element label -public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Generate the HTML to label the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default value in case the form does not use an entity or there is no value available for the element in _POST -public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default value assigned to the element -public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element value -public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the messages that belongs to the element The element needs to be attached to a form -public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Checks whether there are messages attached to the element -public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the validation messages related to the element -public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Appends a message to the internal message list -public **clear** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **clear** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Clears every element in the form to its default value -public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Magic method __toString renders the widget without attributes \ No newline at end of file diff --git a/ru/api/Phalcon_Cli_Router_Route.md b/ru/api/Phalcon_Cli_Router_Route.md index 73e76009acee..290d5404abd8 100644 --- a/ru/api/Phalcon_Cli_Router_Route.md +++ b/ru/api/Phalcon_Cli_Router_Route.md @@ -46,7 +46,7 @@ $router->add( ``` -public [Phalcon\Cli\Router\Route](/en/3.1.2/api/Phalcon_Cli_Router_Route) **beforeMatch** (*callback* $callback) +public [Phalcon\Cli\Router\Route](/en/3.2/api/Phalcon_Cli_Router_Route) **beforeMatch** (*callback* $callback) Sets a callback that is called if the route is matched. The developer can implement any arbitrary conditions here If the callback returns false the route is treated as not matched @@ -74,7 +74,7 @@ public **getReversedPaths** () Returns the paths using positions as keys and names as values -public [Phalcon\Cli\Router\Route](/en/3.1.2/api/Phalcon_Cli_Router_Route) **convert** (*string* $name, *callable* $converter) +public [Phalcon\Cli\Router\Route](/en/3.2/api/Phalcon_Cli_Router_Route) **convert** (*string* $name, *callable* $converter) Adds a converter to perform an additional transformation for certain parameter diff --git a/ru/api/Phalcon_Cli_Task.md b/ru/api/Phalcon_Cli_Task.md index 4090d0b7bf55..15624d08810c 100644 --- a/ru/api/Phalcon_Cli_Task.md +++ b/ru/api/Phalcon_Cli_Task.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cli\\Task** -*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), [Phalcon\Cli\TaskInterface](/en/3.1.2/api/Phalcon_Cli_TaskInterface) +*implements* [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\Cli\TaskInterface](/en/3.2/api/Phalcon_Cli_TaskInterface) Source on GitHub @@ -35,22 +35,22 @@ final public **__construct** () Phalcon\\Cli\\Task constructor -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 **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Sets the event manager -public **getEventsManager** () inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **getEventsManager** () inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Returns the internal event manager -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_Config.md b/ru/api/Phalcon_Config.md index 55a3611a9d38..7b972faed1f5 100644 --- a/ru/api/Phalcon_Config.md +++ b/ru/api/Phalcon_Config.md @@ -28,6 +28,10 @@ $config = new \Phalcon\Config( ``` +## Constants + +*string* **DEFAULT_PATH_DELIMITER** + ## Methods public **__construct** ([*array* $arrayConfig]) @@ -47,6 +51,17 @@ var_dump( ``` +public **path** (*mixed* $path, [*mixed* $defaultValue], [*mixed* $delimiter]) + +Returns a value from current config using a dot separated path. + +```php +path("unknown.path", "default", "."); + +``` + public **get** (*mixed* $index, [*mixed* $defaultValue]) Gets an attribute from the configuration, if the attribute isn't defined returns null If the value is exactly null or is not defined the default value will be used instead @@ -95,7 +110,7 @@ unset($config["database"]); ``` -public **merge** ([Phalcon\Config](/en/3.1.2/api/Phalcon_Config) $config) +public **merge** ([Phalcon\Config](/en/3.2/api/Phalcon_Config) $config) Merges a configuration into the current one @@ -151,6 +166,14 @@ public static **__set_state** (*array* $data) Restores the state of a Phalcon\\Config object +public static **setPathDelimiter** ([*mixed* $delimiter]) + +Sets the default path delimiter + +public static **getPathDelimiter** () + +Gets the default path delimiter + final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) Helper method for merge configs (forwarding nested config instance) \ No newline at end of file diff --git a/ru/api/Phalcon_Config_Adapter_Ini.md b/ru/api/Phalcon_Config_Adapter_Ini.md index 8458550716fa..3576158bc75f 100644 --- a/ru/api/Phalcon_Config_Adapter_Ini.md +++ b/ru/api/Phalcon_Config_Adapter_Ini.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Config\\Adapter\\Ini** -*extends* class [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +*extends* class [Phalcon\Config](/en/3.2/api/Phalcon_Config) *implements* [Countable](http://php.net/manual/en/class.countable.php), [ArrayAccess](http://php.net/manual/en/class.arrayaccess.php) @@ -51,6 +51,10 @@ $config = new \Phalcon\Config\Adapter\Ini( ``` +## Constants + +*string* **DEFAULT_PATH_DELIMITER** + ## Methods public **__construct** (*mixed* $filePath, [*mixed* $mode]) @@ -81,7 +85,7 @@ protected **_cast** (*mixed* $ini) We have to cast values manually because parse_ini_file() has a poor implementation. -public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Allows to check whether an attribute is defined using the array-syntax @@ -94,7 +98,18 @@ var_dump( ``` -public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **path** (*mixed* $path, [*mixed* $defaultValue], [*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Returns a value from current config using a dot separated path. + +```php +path("unknown.path", "default", "."); + +``` + +public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute from the configuration, if the attribute isn't defined returns null If the value is exactly null or is not defined the default value will be used instead @@ -105,7 +120,7 @@ echo $config->get("controllersDir", "../app/controllers/"); ``` -public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute using the array-syntax @@ -118,7 +133,7 @@ print_r( ``` -public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Sets an attribute using the array-syntax @@ -131,7 +146,7 @@ $config["database"] = [ ``` -public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Unsets an attribute using the array-syntax @@ -142,7 +157,7 @@ unset($config["database"]); ``` -public **merge** ([Phalcon\Config](/en/3.1.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **merge** ([Phalcon\Config](/en/3.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Merges a configuration into the current one @@ -161,7 +176,7 @@ $globalConfig->merge($appConfig); ``` -public **toArray** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **toArray** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Converts recursively the object to an array @@ -174,7 +189,7 @@ print_r( ``` -public **count** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **count** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Returns the count of properties set in the config @@ -194,10 +209,18 @@ print $config->count(); ``` -public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Restores the state of a Phalcon\\Config object -final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **setPathDelimiter** ([*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Sets the default path delimiter + +public static **getPathDelimiter** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Gets the default path delimiter + +final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Helper method for merge configs (forwarding nested config instance) \ No newline at end of file diff --git a/ru/api/Phalcon_Config_Adapter_Json.md b/ru/api/Phalcon_Config_Adapter_Json.md index 37d4418b4241..860df550aee3 100644 --- a/ru/api/Phalcon_Config_Adapter_Json.md +++ b/ru/api/Phalcon_Config_Adapter_Json.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Config\\Adapter\\Json** -*extends* class [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +*extends* class [Phalcon\Config](/en/3.2/api/Phalcon_Config) *implements* [Countable](http://php.net/manual/en/class.countable.php), [ArrayAccess](http://php.net/manual/en/class.arrayaccess.php) @@ -29,13 +29,17 @@ echo $config->models->metadata; ``` +## Constants + +*string* **DEFAULT_PATH_DELIMITER** + ## Methods public **__construct** (*mixed* $filePath) Phalcon\\Config\\Adapter\\Json constructor -public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Allows to check whether an attribute is defined using the array-syntax @@ -48,7 +52,18 @@ var_dump( ``` -public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **path** (*mixed* $path, [*mixed* $defaultValue], [*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Returns a value from current config using a dot separated path. + +```php +path("unknown.path", "default", "."); + +``` + +public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute from the configuration, if the attribute isn't defined returns null If the value is exactly null or is not defined the default value will be used instead @@ -59,7 +74,7 @@ echo $config->get("controllersDir", "../app/controllers/"); ``` -public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute using the array-syntax @@ -72,7 +87,7 @@ print_r( ``` -public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Sets an attribute using the array-syntax @@ -85,7 +100,7 @@ $config["database"] = [ ``` -public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Unsets an attribute using the array-syntax @@ -96,7 +111,7 @@ unset($config["database"]); ``` -public **merge** ([Phalcon\Config](/en/3.1.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **merge** ([Phalcon\Config](/en/3.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Merges a configuration into the current one @@ -115,7 +130,7 @@ $globalConfig->merge($appConfig); ``` -public **toArray** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **toArray** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Converts recursively the object to an array @@ -128,7 +143,7 @@ print_r( ``` -public **count** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **count** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Returns the count of properties set in the config @@ -148,10 +163,18 @@ print $config->count(); ``` -public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Restores the state of a Phalcon\\Config object -final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **setPathDelimiter** ([*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Sets the default path delimiter + +public static **getPathDelimiter** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Gets the default path delimiter + +final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Helper method for merge configs (forwarding nested config instance) \ No newline at end of file diff --git a/ru/api/Phalcon_Config_Adapter_Php.md b/ru/api/Phalcon_Config_Adapter_Php.md index d2dbf0e51bc1..844d5a6cdd20 100644 --- a/ru/api/Phalcon_Config_Adapter_Php.md +++ b/ru/api/Phalcon_Config_Adapter_Php.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Config\\Adapter\\Php** -*extends* class [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +*extends* class [Phalcon\Config](/en/3.2/api/Phalcon_Config) *implements* [Countable](http://php.net/manual/en/class.countable.php), [ArrayAccess](http://php.net/manual/en/class.arrayaccess.php) @@ -44,13 +44,17 @@ echo $config->database->username; ``` +## Constants + +*string* **DEFAULT_PATH_DELIMITER** + ## Methods public **__construct** (*mixed* $filePath) Phalcon\\Config\\Adapter\\Php constructor -public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Allows to check whether an attribute is defined using the array-syntax @@ -63,7 +67,18 @@ var_dump( ``` -public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **path** (*mixed* $path, [*mixed* $defaultValue], [*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Returns a value from current config using a dot separated path. + +```php +path("unknown.path", "default", "."); + +``` + +public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute from the configuration, if the attribute isn't defined returns null If the value is exactly null or is not defined the default value will be used instead @@ -74,7 +89,7 @@ echo $config->get("controllersDir", "../app/controllers/"); ``` -public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute using the array-syntax @@ -87,7 +102,7 @@ print_r( ``` -public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Sets an attribute using the array-syntax @@ -100,7 +115,7 @@ $config["database"] = [ ``` -public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Unsets an attribute using the array-syntax @@ -111,7 +126,7 @@ unset($config["database"]); ``` -public **merge** ([Phalcon\Config](/en/3.1.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **merge** ([Phalcon\Config](/en/3.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Merges a configuration into the current one @@ -130,7 +145,7 @@ $globalConfig->merge($appConfig); ``` -public **toArray** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **toArray** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Converts recursively the object to an array @@ -143,7 +158,7 @@ print_r( ``` -public **count** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **count** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Returns the count of properties set in the config @@ -163,10 +178,18 @@ print $config->count(); ``` -public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Restores the state of a Phalcon\\Config object -final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **setPathDelimiter** ([*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Sets the default path delimiter + +public static **getPathDelimiter** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Gets the default path delimiter + +final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Helper method for merge configs (forwarding nested config instance) \ No newline at end of file diff --git a/ru/api/Phalcon_Config_Adapter_Yaml.md b/ru/api/Phalcon_Config_Adapter_Yaml.md index a63e7a518e4d..1955bc04918c 100644 --- a/ru/api/Phalcon_Config_Adapter_Yaml.md +++ b/ru/api/Phalcon_Config_Adapter_Yaml.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Config\\Adapter\\Yaml** -*extends* class [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +*extends* class [Phalcon\Config](/en/3.2/api/Phalcon_Config) *implements* [Countable](http://php.net/manual/en/class.countable.php), [ArrayAccess](http://php.net/manual/en/class.arrayaccess.php) @@ -46,13 +46,17 @@ echo $config->models->metadata; ``` +## Constants + +*string* **DEFAULT_PATH_DELIMITER** + ## Methods public **__construct** (*mixed* $filePath, [*array* $callbacks]) Phalcon\\Config\\Adapter\\Yaml constructor -public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Allows to check whether an attribute is defined using the array-syntax @@ -65,7 +69,18 @@ var_dump( ``` -public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **path** (*mixed* $path, [*mixed* $defaultValue], [*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Returns a value from current config using a dot separated path. + +```php +path("unknown.path", "default", "."); + +``` + +public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute from the configuration, if the attribute isn't defined returns null If the value is exactly null or is not defined the default value will be used instead @@ -76,7 +91,7 @@ echo $config->get("controllersDir", "../app/controllers/"); ``` -public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute using the array-syntax @@ -89,7 +104,7 @@ print_r( ``` -public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Sets an attribute using the array-syntax @@ -102,7 +117,7 @@ $config["database"] = [ ``` -public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Unsets an attribute using the array-syntax @@ -113,7 +128,7 @@ unset($config["database"]); ``` -public **merge** ([Phalcon\Config](/en/3.1.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **merge** ([Phalcon\Config](/en/3.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Merges a configuration into the current one @@ -132,7 +147,7 @@ $globalConfig->merge($appConfig); ``` -public **toArray** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **toArray** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Converts recursively the object to an array @@ -145,7 +160,7 @@ print_r( ``` -public **count** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **count** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Returns the count of properties set in the config @@ -165,10 +180,18 @@ print $config->count(); ``` -public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Restores the state of a Phalcon\\Config object -final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **setPathDelimiter** ([*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Sets the default path delimiter + +public static **getPathDelimiter** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Gets the default path delimiter + +final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Helper method for merge configs (forwarding nested config instance) \ No newline at end of file diff --git a/ru/api/Phalcon_Config_Exception.md b/ru/api/Phalcon_Config_Exception.md index fe180ca140c2..870c720975df 100644 --- a/ru/api/Phalcon_Config_Exception.md +++ b/ru/api/Phalcon_Config_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Config\\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_Crypt.md b/ru/api/Phalcon_Crypt.md index 02729550912f..348e1401a9a0 100644 --- a/ru/api/Phalcon_Crypt.md +++ b/ru/api/Phalcon_Crypt.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Crypt** -*implements* [Phalcon\CryptInterface](/en/3.1.2/api/Phalcon_CryptInterface) +*implements* [Phalcon\CryptInterface](/en/3.2/api/Phalcon_CryptInterface) Source on GitHub diff --git a/ru/api/Phalcon_Crypt_Exception.md b/ru/api/Phalcon_Crypt_Exception.md index 677b1db3e78e..ea2a2af5ed7e 100644 --- a/ru/api/Phalcon_Crypt_Exception.md +++ b/ru/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/ru/api/Phalcon_Flash.md b/ru/api/Phalcon_Flash.md index 46db08bba6b6..fab60ddca1fb 100644 --- a/ru/api/Phalcon_Flash.md +++ b/ru/api/Phalcon_Flash.md @@ -1,6 +1,6 @@ # Abstract class **Phalcon\\Flash** -*implements* [Phalcon\FlashInterface](/en/3.1.2/api/Phalcon_FlashInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.1.2/api/Phalcon_Di_InjectionAwareInterface) +*implements* [Phalcon\FlashInterface](/en/3.2/api/Phalcon_FlashInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface) Source on GitHub @@ -32,11 +32,11 @@ public **getEscaperService** () Returns the Escaper Service -public **setEscaperService** ([Phalcon\EscaperInterface](/en/3.1.2/api/Phalcon_EscaperInterface) $escaperService) +public **setEscaperService** ([Phalcon\EscaperInterface](/en/3.2/api/Phalcon_EscaperInterface) $escaperService) Sets the Escaper Service -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 @@ -115,6 +115,6 @@ public **clear** () Clears accumulated messages when implicit flush is disabled -abstract public **message** (*mixed* $type, *mixed* $message) inherited from [Phalcon\FlashInterface](/en/3.1.2/api/Phalcon_FlashInterface) +abstract public **message** (*mixed* $type, *mixed* $message) inherited from [Phalcon\FlashInterface](/en/3.2/api/Phalcon_FlashInterface) ... \ No newline at end of file diff --git a/ru/api/Phalcon_Flash_Direct.md b/ru/api/Phalcon_Flash_Direct.md index 5563e108b68e..9b8045cf2a4e 100644 --- a/ru/api/Phalcon_Flash_Direct.md +++ b/ru/api/Phalcon_Flash_Direct.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Flash\\Direct** -*extends* abstract class [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +*extends* abstract class [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) -*implements* [Phalcon\Di\InjectionAwareInterface](/en/3.1.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\FlashInterface](/en/3.1.2/api/Phalcon_FlashInterface) +*implements* [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\FlashInterface](/en/3.2/api/Phalcon_FlashInterface) Source on GitHub @@ -18,47 +18,47 @@ public **output** ([*mixed* $remove]) Prints the messages accumulated in the flasher -public **__construct** ([*mixed* $cssClasses]) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **__construct** ([*mixed* $cssClasses]) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Phalcon\\Flash constructor -public **getAutoescape** () inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **getAutoescape** () inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Returns the autoescape mode in generated html -public **setAutoescape** (*mixed* $autoescape) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **setAutoescape** (*mixed* $autoescape) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Set the autoescape mode in generated html -public **getEscaperService** () inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **getEscaperService** () inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Returns the Escaper Service -public **setEscaperService** ([Phalcon\EscaperInterface](/en/3.1.2/api/Phalcon_EscaperInterface) $escaperService) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **setEscaperService** ([Phalcon\EscaperInterface](/en/3.2/api/Phalcon_EscaperInterface) $escaperService) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Sets the Escaper Service -public **setDI** ([Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **setDI** ([Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Sets the dependency injector -public **getDI** () inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **getDI** () inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Returns the internal dependency injector -public **setImplicitFlush** (*mixed* $implicitFlush) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **setImplicitFlush** (*mixed* $implicitFlush) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Set whether the output must be implicitly flushed to the output or returned as string -public **setAutomaticHtml** (*mixed* $automaticHtml) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **setAutomaticHtml** (*mixed* $automaticHtml) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Set if the output must be implicitly formatted with HTML -public **setCssClasses** (*array* $cssClasses) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **setCssClasses** (*array* $cssClasses) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Set an array with CSS classes to format the messages -public **error** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **error** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Shows a HTML error message @@ -69,7 +69,7 @@ $flash->error("This is an error"); ``` -public **notice** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **notice** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Shows a HTML notice/information message @@ -80,7 +80,7 @@ $flash->notice("This is an information"); ``` -public **success** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **success** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Shows a HTML success message @@ -91,7 +91,7 @@ $flash->success("The process was finished successfully"); ``` -public **warning** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **warning** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Shows a HTML warning message @@ -102,7 +102,7 @@ $flash->warning("Hey, this is important"); ``` -public *string* | *void* **outputMessage** (*mixed* $type, *string* | *array* $message) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public *string* | *void* **outputMessage** (*mixed* $type, *string* | *array* $message) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Outputs a message formatting it with HTML @@ -113,6 +113,6 @@ $flash->outputMessage("error", $message); ``` -public **clear** () inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **clear** () inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Clears accumulated messages when implicit flush is disabled \ No newline at end of file diff --git a/ru/api/Phalcon_Forms_ElementInterface.md b/ru/api/Phalcon_Forms_ElementInterface.md index bde079440bdc..8108787311a9 100644 --- a/ru/api/Phalcon_Forms_ElementInterface.md +++ b/ru/api/Phalcon_Forms_ElementInterface.md @@ -4,7 +4,7 @@ ## Methods -abstract public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) +abstract public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) ... @@ -36,7 +36,7 @@ abstract public **addValidators** (*array* $validators, [*mixed* $merge]) ... -abstract public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) +abstract public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) ... @@ -112,11 +112,11 @@ abstract public **hasMessages** () ... -abstract public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) +abstract public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) ... -abstract public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) +abstract public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) ... diff --git a/ru/api/Phalcon_Forms_Element_Check.md b/ru/api/Phalcon_Forms_Element_Check.md index f7f53cada4b4..320a3d0b2bed 100644 --- a/ru/api/Phalcon_Forms_Element_Check.md +++ b/ru/api/Phalcon_Forms_Element_Check.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Forms\\Element\\Check** -*extends* abstract class [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +*extends* abstract class [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) -*implements* [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) +*implements* [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) Source on GitHub @@ -14,130 +14,130 @@ public **render** ([*array* $attributes]) Renders the element widget returning html -public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Phalcon\\Forms\\Element constructor -public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the parent form to the element -public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the parent form to the element -public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element name -public **getName** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getName** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element name -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element filters -public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a filter to current list of filters -public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element filters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a group of validators -public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a validator to the element -public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the validators registered for the element -public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns an array of prepared attributes for Phalcon\\Tag helpers according to the element parameters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default attribute for the element -public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an attribute if present -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets default attributes for the element -public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default attributes for the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets an option for the element -public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an option if present -public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets options for the element -public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the options for the element -public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element label -public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element label -public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Generate the HTML to label the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default value in case the form does not use an entity or there is no value available for the element in _POST -public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default value assigned to the element -public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element value -public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the messages that belongs to the element The element needs to be attached to a form -public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Checks whether there are messages attached to the element -public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the validation messages related to the element -public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Appends a message to the internal message list -public **clear** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **clear** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Clears every element in the form to its default value -public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Magic method __toString renders the widget without attributes \ No newline at end of file diff --git a/ru/api/Phalcon_Forms_Element_Date.md b/ru/api/Phalcon_Forms_Element_Date.md index 9bdd42965358..701a6b5ffe81 100644 --- a/ru/api/Phalcon_Forms_Element_Date.md +++ b/ru/api/Phalcon_Forms_Element_Date.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Forms\\Element\\Date** -*extends* abstract class [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +*extends* abstract class [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) -*implements* [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) +*implements* [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) Source on GitHub @@ -14,130 +14,130 @@ public **render** ([*array* $attributes]) Renders the element widget returning html -public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Phalcon\\Forms\\Element constructor -public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the parent form to the element -public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the parent form to the element -public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element name -public **getName** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getName** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element name -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element filters -public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a filter to current list of filters -public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element filters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a group of validators -public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a validator to the element -public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the validators registered for the element -public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns an array of prepared attributes for Phalcon\\Tag helpers according to the element parameters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default attribute for the element -public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an attribute if present -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets default attributes for the element -public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default attributes for the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets an option for the element -public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an option if present -public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets options for the element -public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the options for the element -public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element label -public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element label -public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Generate the HTML to label the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default value in case the form does not use an entity or there is no value available for the element in _POST -public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default value assigned to the element -public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element value -public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the messages that belongs to the element The element needs to be attached to a form -public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Checks whether there are messages attached to the element -public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the validation messages related to the element -public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Appends a message to the internal message list -public **clear** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **clear** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Clears every element in the form to its default value -public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Magic method __toString renders the widget without attributes \ No newline at end of file diff --git a/ru/api/Phalcon_Forms_Element_Email.md b/ru/api/Phalcon_Forms_Element_Email.md index 46e6c4dd0910..e732f646f360 100644 --- a/ru/api/Phalcon_Forms_Element_Email.md +++ b/ru/api/Phalcon_Forms_Element_Email.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Forms\\Element\\Email** -*extends* abstract class [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +*extends* abstract class [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) -*implements* [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) +*implements* [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) Source on GitHub @@ -14,130 +14,130 @@ public **render** ([*array* $attributes]) Renders the element widget returning html -public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Phalcon\\Forms\\Element constructor -public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the parent form to the element -public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the parent form to the element -public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element name -public **getName** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getName** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element name -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element filters -public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a filter to current list of filters -public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element filters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a group of validators -public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a validator to the element -public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the validators registered for the element -public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns an array of prepared attributes for Phalcon\\Tag helpers according to the element parameters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default attribute for the element -public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an attribute if present -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets default attributes for the element -public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default attributes for the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets an option for the element -public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an option if present -public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets options for the element -public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the options for the element -public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element label -public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element label -public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Generate the HTML to label the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default value in case the form does not use an entity or there is no value available for the element in _POST -public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default value assigned to the element -public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element value -public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the messages that belongs to the element The element needs to be attached to a form -public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Checks whether there are messages attached to the element -public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the validation messages related to the element -public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Appends a message to the internal message list -public **clear** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **clear** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Clears every element in the form to its default value -public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Magic method __toString renders the widget without attributes \ No newline at end of file diff --git a/ru/api/Phalcon_Forms_Element_File.md b/ru/api/Phalcon_Forms_Element_File.md index 04fceec03b0d..b81797926b6f 100644 --- a/ru/api/Phalcon_Forms_Element_File.md +++ b/ru/api/Phalcon_Forms_Element_File.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Forms\\Element\\File** -*extends* abstract class [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +*extends* abstract class [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) -*implements* [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) +*implements* [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) Source on GitHub @@ -14,130 +14,130 @@ public **render** ([*array* $attributes]) Renders the element widget returning html -public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Phalcon\\Forms\\Element constructor -public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the parent form to the element -public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the parent form to the element -public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element name -public **getName** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getName** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element name -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element filters -public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a filter to current list of filters -public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element filters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a group of validators -public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a validator to the element -public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the validators registered for the element -public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns an array of prepared attributes for Phalcon\\Tag helpers according to the element parameters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default attribute for the element -public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an attribute if present -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets default attributes for the element -public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default attributes for the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets an option for the element -public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an option if present -public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets options for the element -public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the options for the element -public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element label -public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element label -public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Generate the HTML to label the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default value in case the form does not use an entity or there is no value available for the element in _POST -public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default value assigned to the element -public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element value -public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the messages that belongs to the element The element needs to be attached to a form -public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Checks whether there are messages attached to the element -public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the validation messages related to the element -public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Appends a message to the internal message list -public **clear** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **clear** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Clears every element in the form to its default value -public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Magic method __toString renders the widget without attributes \ No newline at end of file diff --git a/ru/api/Phalcon_Forms_Element_Hidden.md b/ru/api/Phalcon_Forms_Element_Hidden.md index 317e3fe554b8..91457ea53c89 100644 --- a/ru/api/Phalcon_Forms_Element_Hidden.md +++ b/ru/api/Phalcon_Forms_Element_Hidden.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Forms\\Element\\Hidden** -*extends* abstract class [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +*extends* abstract class [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) -*implements* [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) +*implements* [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) Source on GitHub @@ -14,130 +14,130 @@ public **render** ([*array* $attributes]) Renders the element widget returning html -public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Phalcon\\Forms\\Element constructor -public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the parent form to the element -public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the parent form to the element -public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element name -public **getName** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getName** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element name -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element filters -public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a filter to current list of filters -public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element filters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a group of validators -public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a validator to the element -public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the validators registered for the element -public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns an array of prepared attributes for Phalcon\\Tag helpers according to the element parameters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default attribute for the element -public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an attribute if present -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets default attributes for the element -public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default attributes for the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets an option for the element -public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an option if present -public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets options for the element -public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the options for the element -public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element label -public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element label -public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Generate the HTML to label the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default value in case the form does not use an entity or there is no value available for the element in _POST -public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default value assigned to the element -public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element value -public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the messages that belongs to the element The element needs to be attached to a form -public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Checks whether there are messages attached to the element -public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the validation messages related to the element -public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Appends a message to the internal message list -public **clear** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **clear** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Clears every element in the form to its default value -public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Magic method __toString renders the widget without attributes \ No newline at end of file diff --git a/tr/api/Phalcon_Cli_Router_Exception.md b/tr/api/Phalcon_Cli_Router_Exception.md index ebd81a411422..e063b3861132 100644 --- a/tr/api/Phalcon_Cli_Router_Exception.md +++ b/tr/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/tr/api/Phalcon_Cli_Router_Route.md b/tr/api/Phalcon_Cli_Router_Route.md index 73e76009acee..290d5404abd8 100644 --- a/tr/api/Phalcon_Cli_Router_Route.md +++ b/tr/api/Phalcon_Cli_Router_Route.md @@ -46,7 +46,7 @@ $router->add( ``` -public [Phalcon\Cli\Router\Route](/en/3.1.2/api/Phalcon_Cli_Router_Route) **beforeMatch** (*callback* $callback) +public [Phalcon\Cli\Router\Route](/en/3.2/api/Phalcon_Cli_Router_Route) **beforeMatch** (*callback* $callback) Sets a callback that is called if the route is matched. The developer can implement any arbitrary conditions here If the callback returns false the route is treated as not matched @@ -74,7 +74,7 @@ public **getReversedPaths** () Returns the paths using positions as keys and names as values -public [Phalcon\Cli\Router\Route](/en/3.1.2/api/Phalcon_Cli_Router_Route) **convert** (*string* $name, *callable* $converter) +public [Phalcon\Cli\Router\Route](/en/3.2/api/Phalcon_Cli_Router_Route) **convert** (*string* $name, *callable* $converter) Adds a converter to perform an additional transformation for certain parameter diff --git a/tr/api/Phalcon_Cli_Task.md b/tr/api/Phalcon_Cli_Task.md index 4090d0b7bf55..15624d08810c 100644 --- a/tr/api/Phalcon_Cli_Task.md +++ b/tr/api/Phalcon_Cli_Task.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cli\\Task** -*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), [Phalcon\Cli\TaskInterface](/en/3.1.2/api/Phalcon_Cli_TaskInterface) +*implements* [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\Cli\TaskInterface](/en/3.2/api/Phalcon_Cli_TaskInterface) Source on GitHub @@ -35,22 +35,22 @@ final public **__construct** () Phalcon\\Cli\\Task constructor -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 **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Sets the event manager -public **getEventsManager** () inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **getEventsManager** () inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Returns the internal event manager -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_Config.md b/tr/api/Phalcon_Config.md index 55a3611a9d38..7b972faed1f5 100644 --- a/tr/api/Phalcon_Config.md +++ b/tr/api/Phalcon_Config.md @@ -28,6 +28,10 @@ $config = new \Phalcon\Config( ``` +## Constants + +*string* **DEFAULT_PATH_DELIMITER** + ## Methods public **__construct** ([*array* $arrayConfig]) @@ -47,6 +51,17 @@ var_dump( ``` +public **path** (*mixed* $path, [*mixed* $defaultValue], [*mixed* $delimiter]) + +Returns a value from current config using a dot separated path. + +```php +path("unknown.path", "default", "."); + +``` + public **get** (*mixed* $index, [*mixed* $defaultValue]) Gets an attribute from the configuration, if the attribute isn't defined returns null If the value is exactly null or is not defined the default value will be used instead @@ -95,7 +110,7 @@ unset($config["database"]); ``` -public **merge** ([Phalcon\Config](/en/3.1.2/api/Phalcon_Config) $config) +public **merge** ([Phalcon\Config](/en/3.2/api/Phalcon_Config) $config) Merges a configuration into the current one @@ -151,6 +166,14 @@ public static **__set_state** (*array* $data) Restores the state of a Phalcon\\Config object +public static **setPathDelimiter** ([*mixed* $delimiter]) + +Sets the default path delimiter + +public static **getPathDelimiter** () + +Gets the default path delimiter + final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) Helper method for merge configs (forwarding nested config instance) \ No newline at end of file diff --git a/tr/api/Phalcon_Config_Adapter_Ini.md b/tr/api/Phalcon_Config_Adapter_Ini.md index 8458550716fa..3576158bc75f 100644 --- a/tr/api/Phalcon_Config_Adapter_Ini.md +++ b/tr/api/Phalcon_Config_Adapter_Ini.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Config\\Adapter\\Ini** -*extends* class [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +*extends* class [Phalcon\Config](/en/3.2/api/Phalcon_Config) *implements* [Countable](http://php.net/manual/en/class.countable.php), [ArrayAccess](http://php.net/manual/en/class.arrayaccess.php) @@ -51,6 +51,10 @@ $config = new \Phalcon\Config\Adapter\Ini( ``` +## Constants + +*string* **DEFAULT_PATH_DELIMITER** + ## Methods public **__construct** (*mixed* $filePath, [*mixed* $mode]) @@ -81,7 +85,7 @@ protected **_cast** (*mixed* $ini) We have to cast values manually because parse_ini_file() has a poor implementation. -public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Allows to check whether an attribute is defined using the array-syntax @@ -94,7 +98,18 @@ var_dump( ``` -public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **path** (*mixed* $path, [*mixed* $defaultValue], [*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Returns a value from current config using a dot separated path. + +```php +path("unknown.path", "default", "."); + +``` + +public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute from the configuration, if the attribute isn't defined returns null If the value is exactly null or is not defined the default value will be used instead @@ -105,7 +120,7 @@ echo $config->get("controllersDir", "../app/controllers/"); ``` -public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute using the array-syntax @@ -118,7 +133,7 @@ print_r( ``` -public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Sets an attribute using the array-syntax @@ -131,7 +146,7 @@ $config["database"] = [ ``` -public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Unsets an attribute using the array-syntax @@ -142,7 +157,7 @@ unset($config["database"]); ``` -public **merge** ([Phalcon\Config](/en/3.1.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **merge** ([Phalcon\Config](/en/3.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Merges a configuration into the current one @@ -161,7 +176,7 @@ $globalConfig->merge($appConfig); ``` -public **toArray** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **toArray** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Converts recursively the object to an array @@ -174,7 +189,7 @@ print_r( ``` -public **count** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **count** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Returns the count of properties set in the config @@ -194,10 +209,18 @@ print $config->count(); ``` -public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Restores the state of a Phalcon\\Config object -final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **setPathDelimiter** ([*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Sets the default path delimiter + +public static **getPathDelimiter** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Gets the default path delimiter + +final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Helper method for merge configs (forwarding nested config instance) \ No newline at end of file diff --git a/tr/api/Phalcon_Config_Adapter_Json.md b/tr/api/Phalcon_Config_Adapter_Json.md index 37d4418b4241..860df550aee3 100644 --- a/tr/api/Phalcon_Config_Adapter_Json.md +++ b/tr/api/Phalcon_Config_Adapter_Json.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Config\\Adapter\\Json** -*extends* class [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +*extends* class [Phalcon\Config](/en/3.2/api/Phalcon_Config) *implements* [Countable](http://php.net/manual/en/class.countable.php), [ArrayAccess](http://php.net/manual/en/class.arrayaccess.php) @@ -29,13 +29,17 @@ echo $config->models->metadata; ``` +## Constants + +*string* **DEFAULT_PATH_DELIMITER** + ## Methods public **__construct** (*mixed* $filePath) Phalcon\\Config\\Adapter\\Json constructor -public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Allows to check whether an attribute is defined using the array-syntax @@ -48,7 +52,18 @@ var_dump( ``` -public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **path** (*mixed* $path, [*mixed* $defaultValue], [*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Returns a value from current config using a dot separated path. + +```php +path("unknown.path", "default", "."); + +``` + +public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute from the configuration, if the attribute isn't defined returns null If the value is exactly null or is not defined the default value will be used instead @@ -59,7 +74,7 @@ echo $config->get("controllersDir", "../app/controllers/"); ``` -public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute using the array-syntax @@ -72,7 +87,7 @@ print_r( ``` -public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Sets an attribute using the array-syntax @@ -85,7 +100,7 @@ $config["database"] = [ ``` -public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Unsets an attribute using the array-syntax @@ -96,7 +111,7 @@ unset($config["database"]); ``` -public **merge** ([Phalcon\Config](/en/3.1.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **merge** ([Phalcon\Config](/en/3.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Merges a configuration into the current one @@ -115,7 +130,7 @@ $globalConfig->merge($appConfig); ``` -public **toArray** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **toArray** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Converts recursively the object to an array @@ -128,7 +143,7 @@ print_r( ``` -public **count** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **count** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Returns the count of properties set in the config @@ -148,10 +163,18 @@ print $config->count(); ``` -public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Restores the state of a Phalcon\\Config object -final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **setPathDelimiter** ([*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Sets the default path delimiter + +public static **getPathDelimiter** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Gets the default path delimiter + +final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Helper method for merge configs (forwarding nested config instance) \ No newline at end of file diff --git a/tr/api/Phalcon_Config_Adapter_Php.md b/tr/api/Phalcon_Config_Adapter_Php.md index d2dbf0e51bc1..844d5a6cdd20 100644 --- a/tr/api/Phalcon_Config_Adapter_Php.md +++ b/tr/api/Phalcon_Config_Adapter_Php.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Config\\Adapter\\Php** -*extends* class [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +*extends* class [Phalcon\Config](/en/3.2/api/Phalcon_Config) *implements* [Countable](http://php.net/manual/en/class.countable.php), [ArrayAccess](http://php.net/manual/en/class.arrayaccess.php) @@ -44,13 +44,17 @@ echo $config->database->username; ``` +## Constants + +*string* **DEFAULT_PATH_DELIMITER** + ## Methods public **__construct** (*mixed* $filePath) Phalcon\\Config\\Adapter\\Php constructor -public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Allows to check whether an attribute is defined using the array-syntax @@ -63,7 +67,18 @@ var_dump( ``` -public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **path** (*mixed* $path, [*mixed* $defaultValue], [*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Returns a value from current config using a dot separated path. + +```php +path("unknown.path", "default", "."); + +``` + +public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute from the configuration, if the attribute isn't defined returns null If the value is exactly null or is not defined the default value will be used instead @@ -74,7 +89,7 @@ echo $config->get("controllersDir", "../app/controllers/"); ``` -public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute using the array-syntax @@ -87,7 +102,7 @@ print_r( ``` -public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Sets an attribute using the array-syntax @@ -100,7 +115,7 @@ $config["database"] = [ ``` -public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Unsets an attribute using the array-syntax @@ -111,7 +126,7 @@ unset($config["database"]); ``` -public **merge** ([Phalcon\Config](/en/3.1.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **merge** ([Phalcon\Config](/en/3.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Merges a configuration into the current one @@ -130,7 +145,7 @@ $globalConfig->merge($appConfig); ``` -public **toArray** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **toArray** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Converts recursively the object to an array @@ -143,7 +158,7 @@ print_r( ``` -public **count** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **count** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Returns the count of properties set in the config @@ -163,10 +178,18 @@ print $config->count(); ``` -public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Restores the state of a Phalcon\\Config object -final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **setPathDelimiter** ([*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Sets the default path delimiter + +public static **getPathDelimiter** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Gets the default path delimiter + +final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Helper method for merge configs (forwarding nested config instance) \ No newline at end of file diff --git a/tr/api/Phalcon_Config_Adapter_Yaml.md b/tr/api/Phalcon_Config_Adapter_Yaml.md index a63e7a518e4d..1955bc04918c 100644 --- a/tr/api/Phalcon_Config_Adapter_Yaml.md +++ b/tr/api/Phalcon_Config_Adapter_Yaml.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Config\\Adapter\\Yaml** -*extends* class [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +*extends* class [Phalcon\Config](/en/3.2/api/Phalcon_Config) *implements* [Countable](http://php.net/manual/en/class.countable.php), [ArrayAccess](http://php.net/manual/en/class.arrayaccess.php) @@ -46,13 +46,17 @@ echo $config->models->metadata; ``` +## Constants + +*string* **DEFAULT_PATH_DELIMITER** + ## Methods public **__construct** (*mixed* $filePath, [*array* $callbacks]) Phalcon\\Config\\Adapter\\Yaml constructor -public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Allows to check whether an attribute is defined using the array-syntax @@ -65,7 +69,18 @@ var_dump( ``` -public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **path** (*mixed* $path, [*mixed* $defaultValue], [*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Returns a value from current config using a dot separated path. + +```php +path("unknown.path", "default", "."); + +``` + +public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute from the configuration, if the attribute isn't defined returns null If the value is exactly null or is not defined the default value will be used instead @@ -76,7 +91,7 @@ echo $config->get("controllersDir", "../app/controllers/"); ``` -public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute using the array-syntax @@ -89,7 +104,7 @@ print_r( ``` -public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Sets an attribute using the array-syntax @@ -102,7 +117,7 @@ $config["database"] = [ ``` -public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Unsets an attribute using the array-syntax @@ -113,7 +128,7 @@ unset($config["database"]); ``` -public **merge** ([Phalcon\Config](/en/3.1.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **merge** ([Phalcon\Config](/en/3.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Merges a configuration into the current one @@ -132,7 +147,7 @@ $globalConfig->merge($appConfig); ``` -public **toArray** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **toArray** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Converts recursively the object to an array @@ -145,7 +160,7 @@ print_r( ``` -public **count** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **count** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Returns the count of properties set in the config @@ -165,10 +180,18 @@ print $config->count(); ``` -public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Restores the state of a Phalcon\\Config object -final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **setPathDelimiter** ([*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Sets the default path delimiter + +public static **getPathDelimiter** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Gets the default path delimiter + +final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Helper method for merge configs (forwarding nested config instance) \ No newline at end of file diff --git a/tr/api/Phalcon_Config_Exception.md b/tr/api/Phalcon_Config_Exception.md index fe180ca140c2..870c720975df 100644 --- a/tr/api/Phalcon_Config_Exception.md +++ b/tr/api/Phalcon_Config_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Config\\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_Crypt.md b/tr/api/Phalcon_Crypt.md index 02729550912f..348e1401a9a0 100644 --- a/tr/api/Phalcon_Crypt.md +++ b/tr/api/Phalcon_Crypt.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Crypt** -*implements* [Phalcon\CryptInterface](/en/3.1.2/api/Phalcon_CryptInterface) +*implements* [Phalcon\CryptInterface](/en/3.2/api/Phalcon_CryptInterface) Source on GitHub diff --git a/tr/api/Phalcon_Crypt_Exception.md b/tr/api/Phalcon_Crypt_Exception.md index 677b1db3e78e..ea2a2af5ed7e 100644 --- a/tr/api/Phalcon_Crypt_Exception.md +++ b/tr/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/tr/api/Phalcon_Flash.md b/tr/api/Phalcon_Flash.md index 46db08bba6b6..fab60ddca1fb 100644 --- a/tr/api/Phalcon_Flash.md +++ b/tr/api/Phalcon_Flash.md @@ -1,6 +1,6 @@ # Abstract class **Phalcon\\Flash** -*implements* [Phalcon\FlashInterface](/en/3.1.2/api/Phalcon_FlashInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.1.2/api/Phalcon_Di_InjectionAwareInterface) +*implements* [Phalcon\FlashInterface](/en/3.2/api/Phalcon_FlashInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface) Source on GitHub @@ -32,11 +32,11 @@ public **getEscaperService** () Returns the Escaper Service -public **setEscaperService** ([Phalcon\EscaperInterface](/en/3.1.2/api/Phalcon_EscaperInterface) $escaperService) +public **setEscaperService** ([Phalcon\EscaperInterface](/en/3.2/api/Phalcon_EscaperInterface) $escaperService) Sets the Escaper Service -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 @@ -115,6 +115,6 @@ public **clear** () Clears accumulated messages when implicit flush is disabled -abstract public **message** (*mixed* $type, *mixed* $message) inherited from [Phalcon\FlashInterface](/en/3.1.2/api/Phalcon_FlashInterface) +abstract public **message** (*mixed* $type, *mixed* $message) inherited from [Phalcon\FlashInterface](/en/3.2/api/Phalcon_FlashInterface) ... \ No newline at end of file diff --git a/tr/api/Phalcon_Forms_ElementInterface.md b/tr/api/Phalcon_Forms_ElementInterface.md index bde079440bdc..8108787311a9 100644 --- a/tr/api/Phalcon_Forms_ElementInterface.md +++ b/tr/api/Phalcon_Forms_ElementInterface.md @@ -4,7 +4,7 @@ ## Methods -abstract public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) +abstract public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) ... @@ -36,7 +36,7 @@ abstract public **addValidators** (*array* $validators, [*mixed* $merge]) ... -abstract public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) +abstract public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) ... @@ -112,11 +112,11 @@ abstract public **hasMessages** () ... -abstract public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) +abstract public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) ... -abstract public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) +abstract public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) ... diff --git a/tr/api/Phalcon_Forms_Element_Check.md b/tr/api/Phalcon_Forms_Element_Check.md index f7f53cada4b4..320a3d0b2bed 100644 --- a/tr/api/Phalcon_Forms_Element_Check.md +++ b/tr/api/Phalcon_Forms_Element_Check.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Forms\\Element\\Check** -*extends* abstract class [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +*extends* abstract class [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) -*implements* [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) +*implements* [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) Source on GitHub @@ -14,130 +14,130 @@ public **render** ([*array* $attributes]) Renders the element widget returning html -public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Phalcon\\Forms\\Element constructor -public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the parent form to the element -public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the parent form to the element -public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element name -public **getName** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getName** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element name -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element filters -public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a filter to current list of filters -public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element filters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a group of validators -public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a validator to the element -public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the validators registered for the element -public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns an array of prepared attributes for Phalcon\\Tag helpers according to the element parameters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default attribute for the element -public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an attribute if present -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets default attributes for the element -public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default attributes for the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets an option for the element -public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an option if present -public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets options for the element -public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the options for the element -public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element label -public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element label -public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Generate the HTML to label the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default value in case the form does not use an entity or there is no value available for the element in _POST -public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default value assigned to the element -public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element value -public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the messages that belongs to the element The element needs to be attached to a form -public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Checks whether there are messages attached to the element -public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the validation messages related to the element -public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Appends a message to the internal message list -public **clear** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **clear** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Clears every element in the form to its default value -public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Magic method __toString renders the widget without attributes \ No newline at end of file diff --git a/tr/api/Phalcon_Forms_Element_Date.md b/tr/api/Phalcon_Forms_Element_Date.md index 9bdd42965358..701a6b5ffe81 100644 --- a/tr/api/Phalcon_Forms_Element_Date.md +++ b/tr/api/Phalcon_Forms_Element_Date.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Forms\\Element\\Date** -*extends* abstract class [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +*extends* abstract class [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) -*implements* [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) +*implements* [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) Source on GitHub @@ -14,130 +14,130 @@ public **render** ([*array* $attributes]) Renders the element widget returning html -public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Phalcon\\Forms\\Element constructor -public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the parent form to the element -public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the parent form to the element -public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element name -public **getName** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getName** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element name -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element filters -public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a filter to current list of filters -public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element filters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a group of validators -public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a validator to the element -public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the validators registered for the element -public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns an array of prepared attributes for Phalcon\\Tag helpers according to the element parameters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default attribute for the element -public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an attribute if present -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets default attributes for the element -public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default attributes for the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets an option for the element -public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an option if present -public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets options for the element -public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the options for the element -public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element label -public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element label -public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Generate the HTML to label the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default value in case the form does not use an entity or there is no value available for the element in _POST -public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default value assigned to the element -public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element value -public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the messages that belongs to the element The element needs to be attached to a form -public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Checks whether there are messages attached to the element -public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the validation messages related to the element -public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Appends a message to the internal message list -public **clear** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **clear** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Clears every element in the form to its default value -public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Magic method __toString renders the widget without attributes \ No newline at end of file diff --git a/tr/api/Phalcon_Forms_Element_Email.md b/tr/api/Phalcon_Forms_Element_Email.md index 46e6c4dd0910..e732f646f360 100644 --- a/tr/api/Phalcon_Forms_Element_Email.md +++ b/tr/api/Phalcon_Forms_Element_Email.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Forms\\Element\\Email** -*extends* abstract class [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +*extends* abstract class [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) -*implements* [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) +*implements* [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) Source on GitHub @@ -14,130 +14,130 @@ public **render** ([*array* $attributes]) Renders the element widget returning html -public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Phalcon\\Forms\\Element constructor -public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the parent form to the element -public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the parent form to the element -public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element name -public **getName** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getName** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element name -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element filters -public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a filter to current list of filters -public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element filters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a group of validators -public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a validator to the element -public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the validators registered for the element -public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns an array of prepared attributes for Phalcon\\Tag helpers according to the element parameters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default attribute for the element -public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an attribute if present -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets default attributes for the element -public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default attributes for the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets an option for the element -public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an option if present -public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets options for the element -public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the options for the element -public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element label -public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element label -public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Generate the HTML to label the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default value in case the form does not use an entity or there is no value available for the element in _POST -public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default value assigned to the element -public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element value -public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the messages that belongs to the element The element needs to be attached to a form -public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Checks whether there are messages attached to the element -public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the validation messages related to the element -public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Appends a message to the internal message list -public **clear** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **clear** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Clears every element in the form to its default value -public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Magic method __toString renders the widget without attributes \ No newline at end of file diff --git a/tr/api/Phalcon_Forms_Element_File.md b/tr/api/Phalcon_Forms_Element_File.md index 04fceec03b0d..b81797926b6f 100644 --- a/tr/api/Phalcon_Forms_Element_File.md +++ b/tr/api/Phalcon_Forms_Element_File.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Forms\\Element\\File** -*extends* abstract class [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +*extends* abstract class [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) -*implements* [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) +*implements* [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) Source on GitHub @@ -14,130 +14,130 @@ public **render** ([*array* $attributes]) Renders the element widget returning html -public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Phalcon\\Forms\\Element constructor -public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the parent form to the element -public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the parent form to the element -public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element name -public **getName** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getName** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element name -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element filters -public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a filter to current list of filters -public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element filters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a group of validators -public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a validator to the element -public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the validators registered for the element -public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns an array of prepared attributes for Phalcon\\Tag helpers according to the element parameters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default attribute for the element -public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an attribute if present -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets default attributes for the element -public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default attributes for the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets an option for the element -public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an option if present -public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets options for the element -public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the options for the element -public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element label -public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element label -public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Generate the HTML to label the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default value in case the form does not use an entity or there is no value available for the element in _POST -public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default value assigned to the element -public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element value -public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the messages that belongs to the element The element needs to be attached to a form -public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Checks whether there are messages attached to the element -public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the validation messages related to the element -public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Appends a message to the internal message list -public **clear** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **clear** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Clears every element in the form to its default value -public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Magic method __toString renders the widget without attributes \ No newline at end of file diff --git a/tr/api/Phalcon_Forms_Element_Hidden.md b/tr/api/Phalcon_Forms_Element_Hidden.md index 317e3fe554b8..91457ea53c89 100644 --- a/tr/api/Phalcon_Forms_Element_Hidden.md +++ b/tr/api/Phalcon_Forms_Element_Hidden.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Forms\\Element\\Hidden** -*extends* abstract class [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +*extends* abstract class [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) -*implements* [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) +*implements* [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) Source on GitHub @@ -14,130 +14,130 @@ public **render** ([*array* $attributes]) Renders the element widget returning html -public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Phalcon\\Forms\\Element constructor -public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the parent form to the element -public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the parent form to the element -public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element name -public **getName** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getName** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element name -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element filters -public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a filter to current list of filters -public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element filters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a group of validators -public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a validator to the element -public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the validators registered for the element -public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns an array of prepared attributes for Phalcon\\Tag helpers according to the element parameters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default attribute for the element -public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an attribute if present -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets default attributes for the element -public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default attributes for the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets an option for the element -public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an option if present -public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets options for the element -public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the options for the element -public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element label -public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element label -public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Generate the HTML to label the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default value in case the form does not use an entity or there is no value available for the element in _POST -public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default value assigned to the element -public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element value -public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the messages that belongs to the element The element needs to be attached to a form -public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Checks whether there are messages attached to the element -public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the validation messages related to the element -public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Appends a message to the internal message list -public **clear** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **clear** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Clears every element in the form to its default value -public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Magic method __toString renders the widget without attributes \ No newline at end of file diff --git a/uk/api/Phalcon_Cli_Router_Exception.md b/uk/api/Phalcon_Cli_Router_Exception.md index ebd81a411422..e063b3861132 100644 --- a/uk/api/Phalcon_Cli_Router_Exception.md +++ b/uk/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/uk/api/Phalcon_Cli_Router_Route.md b/uk/api/Phalcon_Cli_Router_Route.md index 73e76009acee..290d5404abd8 100644 --- a/uk/api/Phalcon_Cli_Router_Route.md +++ b/uk/api/Phalcon_Cli_Router_Route.md @@ -46,7 +46,7 @@ $router->add( ``` -public [Phalcon\Cli\Router\Route](/en/3.1.2/api/Phalcon_Cli_Router_Route) **beforeMatch** (*callback* $callback) +public [Phalcon\Cli\Router\Route](/en/3.2/api/Phalcon_Cli_Router_Route) **beforeMatch** (*callback* $callback) Sets a callback that is called if the route is matched. The developer can implement any arbitrary conditions here If the callback returns false the route is treated as not matched @@ -74,7 +74,7 @@ public **getReversedPaths** () Returns the paths using positions as keys and names as values -public [Phalcon\Cli\Router\Route](/en/3.1.2/api/Phalcon_Cli_Router_Route) **convert** (*string* $name, *callable* $converter) +public [Phalcon\Cli\Router\Route](/en/3.2/api/Phalcon_Cli_Router_Route) **convert** (*string* $name, *callable* $converter) Adds a converter to perform an additional transformation for certain parameter diff --git a/uk/api/Phalcon_Cli_Task.md b/uk/api/Phalcon_Cli_Task.md index 4090d0b7bf55..15624d08810c 100644 --- a/uk/api/Phalcon_Cli_Task.md +++ b/uk/api/Phalcon_Cli_Task.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cli\\Task** -*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), [Phalcon\Cli\TaskInterface](/en/3.1.2/api/Phalcon_Cli_TaskInterface) +*implements* [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\Cli\TaskInterface](/en/3.2/api/Phalcon_Cli_TaskInterface) Source on GitHub @@ -35,22 +35,22 @@ final public **__construct** () Phalcon\\Cli\\Task constructor -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 **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Sets the event manager -public **getEventsManager** () inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **getEventsManager** () inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Returns the internal event manager -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_Config.md b/uk/api/Phalcon_Config.md index 55a3611a9d38..7b972faed1f5 100644 --- a/uk/api/Phalcon_Config.md +++ b/uk/api/Phalcon_Config.md @@ -28,6 +28,10 @@ $config = new \Phalcon\Config( ``` +## Constants + +*string* **DEFAULT_PATH_DELIMITER** + ## Methods public **__construct** ([*array* $arrayConfig]) @@ -47,6 +51,17 @@ var_dump( ``` +public **path** (*mixed* $path, [*mixed* $defaultValue], [*mixed* $delimiter]) + +Returns a value from current config using a dot separated path. + +```php +path("unknown.path", "default", "."); + +``` + public **get** (*mixed* $index, [*mixed* $defaultValue]) Gets an attribute from the configuration, if the attribute isn't defined returns null If the value is exactly null or is not defined the default value will be used instead @@ -95,7 +110,7 @@ unset($config["database"]); ``` -public **merge** ([Phalcon\Config](/en/3.1.2/api/Phalcon_Config) $config) +public **merge** ([Phalcon\Config](/en/3.2/api/Phalcon_Config) $config) Merges a configuration into the current one @@ -151,6 +166,14 @@ public static **__set_state** (*array* $data) Restores the state of a Phalcon\\Config object +public static **setPathDelimiter** ([*mixed* $delimiter]) + +Sets the default path delimiter + +public static **getPathDelimiter** () + +Gets the default path delimiter + final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) Helper method for merge configs (forwarding nested config instance) \ No newline at end of file diff --git a/uk/api/Phalcon_Config_Adapter_Ini.md b/uk/api/Phalcon_Config_Adapter_Ini.md index 8458550716fa..3576158bc75f 100644 --- a/uk/api/Phalcon_Config_Adapter_Ini.md +++ b/uk/api/Phalcon_Config_Adapter_Ini.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Config\\Adapter\\Ini** -*extends* class [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +*extends* class [Phalcon\Config](/en/3.2/api/Phalcon_Config) *implements* [Countable](http://php.net/manual/en/class.countable.php), [ArrayAccess](http://php.net/manual/en/class.arrayaccess.php) @@ -51,6 +51,10 @@ $config = new \Phalcon\Config\Adapter\Ini( ``` +## Constants + +*string* **DEFAULT_PATH_DELIMITER** + ## Methods public **__construct** (*mixed* $filePath, [*mixed* $mode]) @@ -81,7 +85,7 @@ protected **_cast** (*mixed* $ini) We have to cast values manually because parse_ini_file() has a poor implementation. -public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Allows to check whether an attribute is defined using the array-syntax @@ -94,7 +98,18 @@ var_dump( ``` -public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **path** (*mixed* $path, [*mixed* $defaultValue], [*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Returns a value from current config using a dot separated path. + +```php +path("unknown.path", "default", "."); + +``` + +public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute from the configuration, if the attribute isn't defined returns null If the value is exactly null or is not defined the default value will be used instead @@ -105,7 +120,7 @@ echo $config->get("controllersDir", "../app/controllers/"); ``` -public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute using the array-syntax @@ -118,7 +133,7 @@ print_r( ``` -public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Sets an attribute using the array-syntax @@ -131,7 +146,7 @@ $config["database"] = [ ``` -public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Unsets an attribute using the array-syntax @@ -142,7 +157,7 @@ unset($config["database"]); ``` -public **merge** ([Phalcon\Config](/en/3.1.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **merge** ([Phalcon\Config](/en/3.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Merges a configuration into the current one @@ -161,7 +176,7 @@ $globalConfig->merge($appConfig); ``` -public **toArray** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **toArray** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Converts recursively the object to an array @@ -174,7 +189,7 @@ print_r( ``` -public **count** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **count** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Returns the count of properties set in the config @@ -194,10 +209,18 @@ print $config->count(); ``` -public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Restores the state of a Phalcon\\Config object -final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **setPathDelimiter** ([*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Sets the default path delimiter + +public static **getPathDelimiter** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Gets the default path delimiter + +final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Helper method for merge configs (forwarding nested config instance) \ No newline at end of file diff --git a/uk/api/Phalcon_Config_Adapter_Json.md b/uk/api/Phalcon_Config_Adapter_Json.md index 37d4418b4241..860df550aee3 100644 --- a/uk/api/Phalcon_Config_Adapter_Json.md +++ b/uk/api/Phalcon_Config_Adapter_Json.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Config\\Adapter\\Json** -*extends* class [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +*extends* class [Phalcon\Config](/en/3.2/api/Phalcon_Config) *implements* [Countable](http://php.net/manual/en/class.countable.php), [ArrayAccess](http://php.net/manual/en/class.arrayaccess.php) @@ -29,13 +29,17 @@ echo $config->models->metadata; ``` +## Constants + +*string* **DEFAULT_PATH_DELIMITER** + ## Methods public **__construct** (*mixed* $filePath) Phalcon\\Config\\Adapter\\Json constructor -public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Allows to check whether an attribute is defined using the array-syntax @@ -48,7 +52,18 @@ var_dump( ``` -public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **path** (*mixed* $path, [*mixed* $defaultValue], [*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Returns a value from current config using a dot separated path. + +```php +path("unknown.path", "default", "."); + +``` + +public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute from the configuration, if the attribute isn't defined returns null If the value is exactly null or is not defined the default value will be used instead @@ -59,7 +74,7 @@ echo $config->get("controllersDir", "../app/controllers/"); ``` -public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute using the array-syntax @@ -72,7 +87,7 @@ print_r( ``` -public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Sets an attribute using the array-syntax @@ -85,7 +100,7 @@ $config["database"] = [ ``` -public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Unsets an attribute using the array-syntax @@ -96,7 +111,7 @@ unset($config["database"]); ``` -public **merge** ([Phalcon\Config](/en/3.1.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **merge** ([Phalcon\Config](/en/3.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Merges a configuration into the current one @@ -115,7 +130,7 @@ $globalConfig->merge($appConfig); ``` -public **toArray** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **toArray** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Converts recursively the object to an array @@ -128,7 +143,7 @@ print_r( ``` -public **count** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **count** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Returns the count of properties set in the config @@ -148,10 +163,18 @@ print $config->count(); ``` -public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Restores the state of a Phalcon\\Config object -final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **setPathDelimiter** ([*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Sets the default path delimiter + +public static **getPathDelimiter** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Gets the default path delimiter + +final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Helper method for merge configs (forwarding nested config instance) \ No newline at end of file diff --git a/uk/api/Phalcon_Config_Adapter_Php.md b/uk/api/Phalcon_Config_Adapter_Php.md index d2dbf0e51bc1..844d5a6cdd20 100644 --- a/uk/api/Phalcon_Config_Adapter_Php.md +++ b/uk/api/Phalcon_Config_Adapter_Php.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Config\\Adapter\\Php** -*extends* class [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +*extends* class [Phalcon\Config](/en/3.2/api/Phalcon_Config) *implements* [Countable](http://php.net/manual/en/class.countable.php), [ArrayAccess](http://php.net/manual/en/class.arrayaccess.php) @@ -44,13 +44,17 @@ echo $config->database->username; ``` +## Constants + +*string* **DEFAULT_PATH_DELIMITER** + ## Methods public **__construct** (*mixed* $filePath) Phalcon\\Config\\Adapter\\Php constructor -public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Allows to check whether an attribute is defined using the array-syntax @@ -63,7 +67,18 @@ var_dump( ``` -public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **path** (*mixed* $path, [*mixed* $defaultValue], [*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Returns a value from current config using a dot separated path. + +```php +path("unknown.path", "default", "."); + +``` + +public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute from the configuration, if the attribute isn't defined returns null If the value is exactly null or is not defined the default value will be used instead @@ -74,7 +89,7 @@ echo $config->get("controllersDir", "../app/controllers/"); ``` -public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute using the array-syntax @@ -87,7 +102,7 @@ print_r( ``` -public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Sets an attribute using the array-syntax @@ -100,7 +115,7 @@ $config["database"] = [ ``` -public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Unsets an attribute using the array-syntax @@ -111,7 +126,7 @@ unset($config["database"]); ``` -public **merge** ([Phalcon\Config](/en/3.1.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **merge** ([Phalcon\Config](/en/3.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Merges a configuration into the current one @@ -130,7 +145,7 @@ $globalConfig->merge($appConfig); ``` -public **toArray** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **toArray** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Converts recursively the object to an array @@ -143,7 +158,7 @@ print_r( ``` -public **count** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **count** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Returns the count of properties set in the config @@ -163,10 +178,18 @@ print $config->count(); ``` -public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Restores the state of a Phalcon\\Config object -final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **setPathDelimiter** ([*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Sets the default path delimiter + +public static **getPathDelimiter** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Gets the default path delimiter + +final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Helper method for merge configs (forwarding nested config instance) \ No newline at end of file diff --git a/uk/api/Phalcon_Config_Adapter_Yaml.md b/uk/api/Phalcon_Config_Adapter_Yaml.md index a63e7a518e4d..1955bc04918c 100644 --- a/uk/api/Phalcon_Config_Adapter_Yaml.md +++ b/uk/api/Phalcon_Config_Adapter_Yaml.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Config\\Adapter\\Yaml** -*extends* class [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +*extends* class [Phalcon\Config](/en/3.2/api/Phalcon_Config) *implements* [Countable](http://php.net/manual/en/class.countable.php), [ArrayAccess](http://php.net/manual/en/class.arrayaccess.php) @@ -46,13 +46,17 @@ echo $config->models->metadata; ``` +## Constants + +*string* **DEFAULT_PATH_DELIMITER** + ## Methods public **__construct** (*mixed* $filePath, [*array* $callbacks]) Phalcon\\Config\\Adapter\\Yaml constructor -public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Allows to check whether an attribute is defined using the array-syntax @@ -65,7 +69,18 @@ var_dump( ``` -public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **path** (*mixed* $path, [*mixed* $defaultValue], [*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Returns a value from current config using a dot separated path. + +```php +path("unknown.path", "default", "."); + +``` + +public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute from the configuration, if the attribute isn't defined returns null If the value is exactly null or is not defined the default value will be used instead @@ -76,7 +91,7 @@ echo $config->get("controllersDir", "../app/controllers/"); ``` -public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute using the array-syntax @@ -89,7 +104,7 @@ print_r( ``` -public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Sets an attribute using the array-syntax @@ -102,7 +117,7 @@ $config["database"] = [ ``` -public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Unsets an attribute using the array-syntax @@ -113,7 +128,7 @@ unset($config["database"]); ``` -public **merge** ([Phalcon\Config](/en/3.1.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **merge** ([Phalcon\Config](/en/3.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Merges a configuration into the current one @@ -132,7 +147,7 @@ $globalConfig->merge($appConfig); ``` -public **toArray** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **toArray** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Converts recursively the object to an array @@ -145,7 +160,7 @@ print_r( ``` -public **count** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **count** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Returns the count of properties set in the config @@ -165,10 +180,18 @@ print $config->count(); ``` -public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Restores the state of a Phalcon\\Config object -final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **setPathDelimiter** ([*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Sets the default path delimiter + +public static **getPathDelimiter** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Gets the default path delimiter + +final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Helper method for merge configs (forwarding nested config instance) \ No newline at end of file diff --git a/uk/api/Phalcon_Config_Exception.md b/uk/api/Phalcon_Config_Exception.md index fe180ca140c2..870c720975df 100644 --- a/uk/api/Phalcon_Config_Exception.md +++ b/uk/api/Phalcon_Config_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Config\\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_Crypt.md b/uk/api/Phalcon_Crypt.md index 02729550912f..348e1401a9a0 100644 --- a/uk/api/Phalcon_Crypt.md +++ b/uk/api/Phalcon_Crypt.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Crypt** -*implements* [Phalcon\CryptInterface](/en/3.1.2/api/Phalcon_CryptInterface) +*implements* [Phalcon\CryptInterface](/en/3.2/api/Phalcon_CryptInterface) Source on GitHub diff --git a/uk/api/Phalcon_Flash.md b/uk/api/Phalcon_Flash.md index 46db08bba6b6..fab60ddca1fb 100644 --- a/uk/api/Phalcon_Flash.md +++ b/uk/api/Phalcon_Flash.md @@ -1,6 +1,6 @@ # Abstract class **Phalcon\\Flash** -*implements* [Phalcon\FlashInterface](/en/3.1.2/api/Phalcon_FlashInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.1.2/api/Phalcon_Di_InjectionAwareInterface) +*implements* [Phalcon\FlashInterface](/en/3.2/api/Phalcon_FlashInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface) Source on GitHub @@ -32,11 +32,11 @@ public **getEscaperService** () Returns the Escaper Service -public **setEscaperService** ([Phalcon\EscaperInterface](/en/3.1.2/api/Phalcon_EscaperInterface) $escaperService) +public **setEscaperService** ([Phalcon\EscaperInterface](/en/3.2/api/Phalcon_EscaperInterface) $escaperService) Sets the Escaper Service -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 @@ -115,6 +115,6 @@ public **clear** () Clears accumulated messages when implicit flush is disabled -abstract public **message** (*mixed* $type, *mixed* $message) inherited from [Phalcon\FlashInterface](/en/3.1.2/api/Phalcon_FlashInterface) +abstract public **message** (*mixed* $type, *mixed* $message) inherited from [Phalcon\FlashInterface](/en/3.2/api/Phalcon_FlashInterface) ... \ No newline at end of file diff --git a/uk/api/Phalcon_Forms_ElementInterface.md b/uk/api/Phalcon_Forms_ElementInterface.md index bde079440bdc..8108787311a9 100644 --- a/uk/api/Phalcon_Forms_ElementInterface.md +++ b/uk/api/Phalcon_Forms_ElementInterface.md @@ -4,7 +4,7 @@ ## Methods -abstract public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) +abstract public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) ... @@ -36,7 +36,7 @@ abstract public **addValidators** (*array* $validators, [*mixed* $merge]) ... -abstract public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) +abstract public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) ... @@ -112,11 +112,11 @@ abstract public **hasMessages** () ... -abstract public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) +abstract public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) ... -abstract public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) +abstract public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) ... diff --git a/uk/api/Phalcon_Forms_Element_Check.md b/uk/api/Phalcon_Forms_Element_Check.md index f7f53cada4b4..320a3d0b2bed 100644 --- a/uk/api/Phalcon_Forms_Element_Check.md +++ b/uk/api/Phalcon_Forms_Element_Check.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Forms\\Element\\Check** -*extends* abstract class [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +*extends* abstract class [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) -*implements* [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) +*implements* [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) Source on GitHub @@ -14,130 +14,130 @@ public **render** ([*array* $attributes]) Renders the element widget returning html -public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Phalcon\\Forms\\Element constructor -public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the parent form to the element -public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the parent form to the element -public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element name -public **getName** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getName** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element name -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element filters -public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a filter to current list of filters -public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element filters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a group of validators -public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a validator to the element -public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the validators registered for the element -public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns an array of prepared attributes for Phalcon\\Tag helpers according to the element parameters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default attribute for the element -public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an attribute if present -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets default attributes for the element -public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default attributes for the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets an option for the element -public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an option if present -public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets options for the element -public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the options for the element -public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element label -public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element label -public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Generate the HTML to label the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default value in case the form does not use an entity or there is no value available for the element in _POST -public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default value assigned to the element -public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element value -public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the messages that belongs to the element The element needs to be attached to a form -public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Checks whether there are messages attached to the element -public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the validation messages related to the element -public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Appends a message to the internal message list -public **clear** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **clear** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Clears every element in the form to its default value -public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Magic method __toString renders the widget without attributes \ No newline at end of file diff --git a/uk/api/Phalcon_Forms_Element_Date.md b/uk/api/Phalcon_Forms_Element_Date.md index 9bdd42965358..701a6b5ffe81 100644 --- a/uk/api/Phalcon_Forms_Element_Date.md +++ b/uk/api/Phalcon_Forms_Element_Date.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Forms\\Element\\Date** -*extends* abstract class [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +*extends* abstract class [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) -*implements* [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) +*implements* [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) Source on GitHub @@ -14,130 +14,130 @@ public **render** ([*array* $attributes]) Renders the element widget returning html -public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Phalcon\\Forms\\Element constructor -public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the parent form to the element -public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the parent form to the element -public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element name -public **getName** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getName** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element name -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element filters -public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a filter to current list of filters -public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element filters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a group of validators -public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a validator to the element -public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the validators registered for the element -public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns an array of prepared attributes for Phalcon\\Tag helpers according to the element parameters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default attribute for the element -public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an attribute if present -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets default attributes for the element -public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default attributes for the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets an option for the element -public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an option if present -public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets options for the element -public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the options for the element -public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element label -public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element label -public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Generate the HTML to label the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default value in case the form does not use an entity or there is no value available for the element in _POST -public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default value assigned to the element -public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element value -public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the messages that belongs to the element The element needs to be attached to a form -public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Checks whether there are messages attached to the element -public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the validation messages related to the element -public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Appends a message to the internal message list -public **clear** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **clear** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Clears every element in the form to its default value -public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Magic method __toString renders the widget without attributes \ No newline at end of file diff --git a/uk/api/Phalcon_Forms_Element_Email.md b/uk/api/Phalcon_Forms_Element_Email.md index 46e6c4dd0910..e732f646f360 100644 --- a/uk/api/Phalcon_Forms_Element_Email.md +++ b/uk/api/Phalcon_Forms_Element_Email.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Forms\\Element\\Email** -*extends* abstract class [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +*extends* abstract class [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) -*implements* [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) +*implements* [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) Source on GitHub @@ -14,130 +14,130 @@ public **render** ([*array* $attributes]) Renders the element widget returning html -public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Phalcon\\Forms\\Element constructor -public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the parent form to the element -public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the parent form to the element -public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element name -public **getName** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getName** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element name -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element filters -public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a filter to current list of filters -public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element filters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a group of validators -public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a validator to the element -public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the validators registered for the element -public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns an array of prepared attributes for Phalcon\\Tag helpers according to the element parameters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default attribute for the element -public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an attribute if present -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets default attributes for the element -public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default attributes for the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets an option for the element -public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an option if present -public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets options for the element -public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the options for the element -public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element label -public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element label -public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Generate the HTML to label the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default value in case the form does not use an entity or there is no value available for the element in _POST -public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default value assigned to the element -public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element value -public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the messages that belongs to the element The element needs to be attached to a form -public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Checks whether there are messages attached to the element -public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the validation messages related to the element -public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Appends a message to the internal message list -public **clear** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **clear** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Clears every element in the form to its default value -public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Magic method __toString renders the widget without attributes \ No newline at end of file diff --git a/uk/api/Phalcon_Forms_Element_File.md b/uk/api/Phalcon_Forms_Element_File.md index 04fceec03b0d..b81797926b6f 100644 --- a/uk/api/Phalcon_Forms_Element_File.md +++ b/uk/api/Phalcon_Forms_Element_File.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Forms\\Element\\File** -*extends* abstract class [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +*extends* abstract class [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) -*implements* [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) +*implements* [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) Source on GitHub @@ -14,130 +14,130 @@ public **render** ([*array* $attributes]) Renders the element widget returning html -public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Phalcon\\Forms\\Element constructor -public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the parent form to the element -public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the parent form to the element -public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element name -public **getName** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getName** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element name -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element filters -public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a filter to current list of filters -public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element filters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a group of validators -public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a validator to the element -public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the validators registered for the element -public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns an array of prepared attributes for Phalcon\\Tag helpers according to the element parameters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default attribute for the element -public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an attribute if present -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets default attributes for the element -public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default attributes for the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets an option for the element -public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an option if present -public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets options for the element -public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the options for the element -public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element label -public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element label -public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Generate the HTML to label the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default value in case the form does not use an entity or there is no value available for the element in _POST -public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default value assigned to the element -public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element value -public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the messages that belongs to the element The element needs to be attached to a form -public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Checks whether there are messages attached to the element -public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the validation messages related to the element -public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Appends a message to the internal message list -public **clear** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **clear** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Clears every element in the form to its default value -public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Magic method __toString renders the widget without attributes \ No newline at end of file diff --git a/uk/api/Phalcon_Forms_Element_Hidden.md b/uk/api/Phalcon_Forms_Element_Hidden.md index 317e3fe554b8..91457ea53c89 100644 --- a/uk/api/Phalcon_Forms_Element_Hidden.md +++ b/uk/api/Phalcon_Forms_Element_Hidden.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Forms\\Element\\Hidden** -*extends* abstract class [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +*extends* abstract class [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) -*implements* [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) +*implements* [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) Source on GitHub @@ -14,130 +14,130 @@ public **render** ([*array* $attributes]) Renders the element widget returning html -public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Phalcon\\Forms\\Element constructor -public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the parent form to the element -public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the parent form to the element -public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element name -public **getName** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getName** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element name -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element filters -public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a filter to current list of filters -public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element filters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a group of validators -public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a validator to the element -public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the validators registered for the element -public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns an array of prepared attributes for Phalcon\\Tag helpers according to the element parameters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default attribute for the element -public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an attribute if present -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets default attributes for the element -public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default attributes for the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets an option for the element -public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an option if present -public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets options for the element -public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the options for the element -public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element label -public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element label -public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Generate the HTML to label the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default value in case the form does not use an entity or there is no value available for the element in _POST -public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default value assigned to the element -public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element value -public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the messages that belongs to the element The element needs to be attached to a form -public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Checks whether there are messages attached to the element -public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the validation messages related to the element -public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Appends a message to the internal message list -public **clear** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **clear** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Clears every element in the form to its default value -public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Magic method __toString renders the widget without attributes \ No newline at end of file diff --git a/vi/api/Phalcon_Cli_Router_Exception.md b/vi/api/Phalcon_Cli_Router_Exception.md index ebd81a411422..e063b3861132 100644 --- a/vi/api/Phalcon_Cli_Router_Exception.md +++ b/vi/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/vi/api/Phalcon_Cli_Router_Route.md b/vi/api/Phalcon_Cli_Router_Route.md index 73e76009acee..290d5404abd8 100644 --- a/vi/api/Phalcon_Cli_Router_Route.md +++ b/vi/api/Phalcon_Cli_Router_Route.md @@ -46,7 +46,7 @@ $router->add( ``` -public [Phalcon\Cli\Router\Route](/en/3.1.2/api/Phalcon_Cli_Router_Route) **beforeMatch** (*callback* $callback) +public [Phalcon\Cli\Router\Route](/en/3.2/api/Phalcon_Cli_Router_Route) **beforeMatch** (*callback* $callback) Sets a callback that is called if the route is matched. The developer can implement any arbitrary conditions here If the callback returns false the route is treated as not matched @@ -74,7 +74,7 @@ public **getReversedPaths** () Returns the paths using positions as keys and names as values -public [Phalcon\Cli\Router\Route](/en/3.1.2/api/Phalcon_Cli_Router_Route) **convert** (*string* $name, *callable* $converter) +public [Phalcon\Cli\Router\Route](/en/3.2/api/Phalcon_Cli_Router_Route) **convert** (*string* $name, *callable* $converter) Adds a converter to perform an additional transformation for certain parameter diff --git a/vi/api/Phalcon_Cli_Task.md b/vi/api/Phalcon_Cli_Task.md index 4090d0b7bf55..15624d08810c 100644 --- a/vi/api/Phalcon_Cli_Task.md +++ b/vi/api/Phalcon_Cli_Task.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cli\\Task** -*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), [Phalcon\Cli\TaskInterface](/en/3.1.2/api/Phalcon_Cli_TaskInterface) +*implements* [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\Cli\TaskInterface](/en/3.2/api/Phalcon_Cli_TaskInterface) Source on GitHub @@ -35,22 +35,22 @@ final public **__construct** () Phalcon\\Cli\\Task constructor -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 **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Sets the event manager -public **getEventsManager** () inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **getEventsManager** () inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Returns the internal event manager -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_Config.md b/vi/api/Phalcon_Config.md index 55a3611a9d38..7b972faed1f5 100644 --- a/vi/api/Phalcon_Config.md +++ b/vi/api/Phalcon_Config.md @@ -28,6 +28,10 @@ $config = new \Phalcon\Config( ``` +## Constants + +*string* **DEFAULT_PATH_DELIMITER** + ## Methods public **__construct** ([*array* $arrayConfig]) @@ -47,6 +51,17 @@ var_dump( ``` +public **path** (*mixed* $path, [*mixed* $defaultValue], [*mixed* $delimiter]) + +Returns a value from current config using a dot separated path. + +```php +path("unknown.path", "default", "."); + +``` + public **get** (*mixed* $index, [*mixed* $defaultValue]) Gets an attribute from the configuration, if the attribute isn't defined returns null If the value is exactly null or is not defined the default value will be used instead @@ -95,7 +110,7 @@ unset($config["database"]); ``` -public **merge** ([Phalcon\Config](/en/3.1.2/api/Phalcon_Config) $config) +public **merge** ([Phalcon\Config](/en/3.2/api/Phalcon_Config) $config) Merges a configuration into the current one @@ -151,6 +166,14 @@ public static **__set_state** (*array* $data) Restores the state of a Phalcon\\Config object +public static **setPathDelimiter** ([*mixed* $delimiter]) + +Sets the default path delimiter + +public static **getPathDelimiter** () + +Gets the default path delimiter + final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) Helper method for merge configs (forwarding nested config instance) \ No newline at end of file diff --git a/vi/api/Phalcon_Config_Adapter_Ini.md b/vi/api/Phalcon_Config_Adapter_Ini.md index 8458550716fa..3576158bc75f 100644 --- a/vi/api/Phalcon_Config_Adapter_Ini.md +++ b/vi/api/Phalcon_Config_Adapter_Ini.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Config\\Adapter\\Ini** -*extends* class [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +*extends* class [Phalcon\Config](/en/3.2/api/Phalcon_Config) *implements* [Countable](http://php.net/manual/en/class.countable.php), [ArrayAccess](http://php.net/manual/en/class.arrayaccess.php) @@ -51,6 +51,10 @@ $config = new \Phalcon\Config\Adapter\Ini( ``` +## Constants + +*string* **DEFAULT_PATH_DELIMITER** + ## Methods public **__construct** (*mixed* $filePath, [*mixed* $mode]) @@ -81,7 +85,7 @@ protected **_cast** (*mixed* $ini) We have to cast values manually because parse_ini_file() has a poor implementation. -public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Allows to check whether an attribute is defined using the array-syntax @@ -94,7 +98,18 @@ var_dump( ``` -public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **path** (*mixed* $path, [*mixed* $defaultValue], [*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Returns a value from current config using a dot separated path. + +```php +path("unknown.path", "default", "."); + +``` + +public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute from the configuration, if the attribute isn't defined returns null If the value is exactly null or is not defined the default value will be used instead @@ -105,7 +120,7 @@ echo $config->get("controllersDir", "../app/controllers/"); ``` -public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute using the array-syntax @@ -118,7 +133,7 @@ print_r( ``` -public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Sets an attribute using the array-syntax @@ -131,7 +146,7 @@ $config["database"] = [ ``` -public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Unsets an attribute using the array-syntax @@ -142,7 +157,7 @@ unset($config["database"]); ``` -public **merge** ([Phalcon\Config](/en/3.1.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **merge** ([Phalcon\Config](/en/3.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Merges a configuration into the current one @@ -161,7 +176,7 @@ $globalConfig->merge($appConfig); ``` -public **toArray** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **toArray** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Converts recursively the object to an array @@ -174,7 +189,7 @@ print_r( ``` -public **count** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **count** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Returns the count of properties set in the config @@ -194,10 +209,18 @@ print $config->count(); ``` -public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Restores the state of a Phalcon\\Config object -final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **setPathDelimiter** ([*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Sets the default path delimiter + +public static **getPathDelimiter** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Gets the default path delimiter + +final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Helper method for merge configs (forwarding nested config instance) \ No newline at end of file diff --git a/vi/api/Phalcon_Config_Adapter_Json.md b/vi/api/Phalcon_Config_Adapter_Json.md index 37d4418b4241..860df550aee3 100644 --- a/vi/api/Phalcon_Config_Adapter_Json.md +++ b/vi/api/Phalcon_Config_Adapter_Json.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Config\\Adapter\\Json** -*extends* class [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +*extends* class [Phalcon\Config](/en/3.2/api/Phalcon_Config) *implements* [Countable](http://php.net/manual/en/class.countable.php), [ArrayAccess](http://php.net/manual/en/class.arrayaccess.php) @@ -29,13 +29,17 @@ echo $config->models->metadata; ``` +## Constants + +*string* **DEFAULT_PATH_DELIMITER** + ## Methods public **__construct** (*mixed* $filePath) Phalcon\\Config\\Adapter\\Json constructor -public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Allows to check whether an attribute is defined using the array-syntax @@ -48,7 +52,18 @@ var_dump( ``` -public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **path** (*mixed* $path, [*mixed* $defaultValue], [*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Returns a value from current config using a dot separated path. + +```php +path("unknown.path", "default", "."); + +``` + +public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute from the configuration, if the attribute isn't defined returns null If the value is exactly null or is not defined the default value will be used instead @@ -59,7 +74,7 @@ echo $config->get("controllersDir", "../app/controllers/"); ``` -public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute using the array-syntax @@ -72,7 +87,7 @@ print_r( ``` -public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Sets an attribute using the array-syntax @@ -85,7 +100,7 @@ $config["database"] = [ ``` -public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Unsets an attribute using the array-syntax @@ -96,7 +111,7 @@ unset($config["database"]); ``` -public **merge** ([Phalcon\Config](/en/3.1.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **merge** ([Phalcon\Config](/en/3.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Merges a configuration into the current one @@ -115,7 +130,7 @@ $globalConfig->merge($appConfig); ``` -public **toArray** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **toArray** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Converts recursively the object to an array @@ -128,7 +143,7 @@ print_r( ``` -public **count** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **count** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Returns the count of properties set in the config @@ -148,10 +163,18 @@ print $config->count(); ``` -public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Restores the state of a Phalcon\\Config object -final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **setPathDelimiter** ([*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Sets the default path delimiter + +public static **getPathDelimiter** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Gets the default path delimiter + +final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Helper method for merge configs (forwarding nested config instance) \ No newline at end of file diff --git a/vi/api/Phalcon_Config_Adapter_Php.md b/vi/api/Phalcon_Config_Adapter_Php.md index d2dbf0e51bc1..844d5a6cdd20 100644 --- a/vi/api/Phalcon_Config_Adapter_Php.md +++ b/vi/api/Phalcon_Config_Adapter_Php.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Config\\Adapter\\Php** -*extends* class [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +*extends* class [Phalcon\Config](/en/3.2/api/Phalcon_Config) *implements* [Countable](http://php.net/manual/en/class.countable.php), [ArrayAccess](http://php.net/manual/en/class.arrayaccess.php) @@ -44,13 +44,17 @@ echo $config->database->username; ``` +## Constants + +*string* **DEFAULT_PATH_DELIMITER** + ## Methods public **__construct** (*mixed* $filePath) Phalcon\\Config\\Adapter\\Php constructor -public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Allows to check whether an attribute is defined using the array-syntax @@ -63,7 +67,18 @@ var_dump( ``` -public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **path** (*mixed* $path, [*mixed* $defaultValue], [*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Returns a value from current config using a dot separated path. + +```php +path("unknown.path", "default", "."); + +``` + +public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute from the configuration, if the attribute isn't defined returns null If the value is exactly null or is not defined the default value will be used instead @@ -74,7 +89,7 @@ echo $config->get("controllersDir", "../app/controllers/"); ``` -public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute using the array-syntax @@ -87,7 +102,7 @@ print_r( ``` -public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Sets an attribute using the array-syntax @@ -100,7 +115,7 @@ $config["database"] = [ ``` -public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Unsets an attribute using the array-syntax @@ -111,7 +126,7 @@ unset($config["database"]); ``` -public **merge** ([Phalcon\Config](/en/3.1.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **merge** ([Phalcon\Config](/en/3.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Merges a configuration into the current one @@ -130,7 +145,7 @@ $globalConfig->merge($appConfig); ``` -public **toArray** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **toArray** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Converts recursively the object to an array @@ -143,7 +158,7 @@ print_r( ``` -public **count** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **count** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Returns the count of properties set in the config @@ -163,10 +178,18 @@ print $config->count(); ``` -public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Restores the state of a Phalcon\\Config object -final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **setPathDelimiter** ([*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Sets the default path delimiter + +public static **getPathDelimiter** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Gets the default path delimiter + +final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Helper method for merge configs (forwarding nested config instance) \ No newline at end of file diff --git a/vi/api/Phalcon_Config_Adapter_Yaml.md b/vi/api/Phalcon_Config_Adapter_Yaml.md index a63e7a518e4d..1955bc04918c 100644 --- a/vi/api/Phalcon_Config_Adapter_Yaml.md +++ b/vi/api/Phalcon_Config_Adapter_Yaml.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Config\\Adapter\\Yaml** -*extends* class [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +*extends* class [Phalcon\Config](/en/3.2/api/Phalcon_Config) *implements* [Countable](http://php.net/manual/en/class.countable.php), [ArrayAccess](http://php.net/manual/en/class.arrayaccess.php) @@ -46,13 +46,17 @@ echo $config->models->metadata; ``` +## Constants + +*string* **DEFAULT_PATH_DELIMITER** + ## Methods public **__construct** (*mixed* $filePath, [*array* $callbacks]) Phalcon\\Config\\Adapter\\Yaml constructor -public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Allows to check whether an attribute is defined using the array-syntax @@ -65,7 +69,18 @@ var_dump( ``` -public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **path** (*mixed* $path, [*mixed* $defaultValue], [*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Returns a value from current config using a dot separated path. + +```php +path("unknown.path", "default", "."); + +``` + +public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute from the configuration, if the attribute isn't defined returns null If the value is exactly null or is not defined the default value will be used instead @@ -76,7 +91,7 @@ echo $config->get("controllersDir", "../app/controllers/"); ``` -public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute using the array-syntax @@ -89,7 +104,7 @@ print_r( ``` -public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Sets an attribute using the array-syntax @@ -102,7 +117,7 @@ $config["database"] = [ ``` -public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Unsets an attribute using the array-syntax @@ -113,7 +128,7 @@ unset($config["database"]); ``` -public **merge** ([Phalcon\Config](/en/3.1.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **merge** ([Phalcon\Config](/en/3.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Merges a configuration into the current one @@ -132,7 +147,7 @@ $globalConfig->merge($appConfig); ``` -public **toArray** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **toArray** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Converts recursively the object to an array @@ -145,7 +160,7 @@ print_r( ``` -public **count** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **count** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Returns the count of properties set in the config @@ -165,10 +180,18 @@ print $config->count(); ``` -public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Restores the state of a Phalcon\\Config object -final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **setPathDelimiter** ([*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Sets the default path delimiter + +public static **getPathDelimiter** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Gets the default path delimiter + +final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Helper method for merge configs (forwarding nested config instance) \ No newline at end of file diff --git a/vi/api/Phalcon_Config_Exception.md b/vi/api/Phalcon_Config_Exception.md index fe180ca140c2..870c720975df 100644 --- a/vi/api/Phalcon_Config_Exception.md +++ b/vi/api/Phalcon_Config_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Config\\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_Crypt.md b/vi/api/Phalcon_Crypt.md index 02729550912f..348e1401a9a0 100644 --- a/vi/api/Phalcon_Crypt.md +++ b/vi/api/Phalcon_Crypt.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Crypt** -*implements* [Phalcon\CryptInterface](/en/3.1.2/api/Phalcon_CryptInterface) +*implements* [Phalcon\CryptInterface](/en/3.2/api/Phalcon_CryptInterface) Source on GitHub diff --git a/vi/api/Phalcon_Flash.md b/vi/api/Phalcon_Flash.md index 46db08bba6b6..fab60ddca1fb 100644 --- a/vi/api/Phalcon_Flash.md +++ b/vi/api/Phalcon_Flash.md @@ -1,6 +1,6 @@ # Abstract class **Phalcon\\Flash** -*implements* [Phalcon\FlashInterface](/en/3.1.2/api/Phalcon_FlashInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.1.2/api/Phalcon_Di_InjectionAwareInterface) +*implements* [Phalcon\FlashInterface](/en/3.2/api/Phalcon_FlashInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface) Source on GitHub @@ -32,11 +32,11 @@ public **getEscaperService** () Returns the Escaper Service -public **setEscaperService** ([Phalcon\EscaperInterface](/en/3.1.2/api/Phalcon_EscaperInterface) $escaperService) +public **setEscaperService** ([Phalcon\EscaperInterface](/en/3.2/api/Phalcon_EscaperInterface) $escaperService) Sets the Escaper Service -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 @@ -115,6 +115,6 @@ public **clear** () Clears accumulated messages when implicit flush is disabled -abstract public **message** (*mixed* $type, *mixed* $message) inherited from [Phalcon\FlashInterface](/en/3.1.2/api/Phalcon_FlashInterface) +abstract public **message** (*mixed* $type, *mixed* $message) inherited from [Phalcon\FlashInterface](/en/3.2/api/Phalcon_FlashInterface) ... \ No newline at end of file diff --git a/vi/api/Phalcon_Forms_ElementInterface.md b/vi/api/Phalcon_Forms_ElementInterface.md index bde079440bdc..8108787311a9 100644 --- a/vi/api/Phalcon_Forms_ElementInterface.md +++ b/vi/api/Phalcon_Forms_ElementInterface.md @@ -4,7 +4,7 @@ ## Methods -abstract public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) +abstract public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) ... @@ -36,7 +36,7 @@ abstract public **addValidators** (*array* $validators, [*mixed* $merge]) ... -abstract public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) +abstract public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) ... @@ -112,11 +112,11 @@ abstract public **hasMessages** () ... -abstract public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) +abstract public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) ... -abstract public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) +abstract public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) ... diff --git a/vi/api/Phalcon_Forms_Element_Check.md b/vi/api/Phalcon_Forms_Element_Check.md index f7f53cada4b4..320a3d0b2bed 100644 --- a/vi/api/Phalcon_Forms_Element_Check.md +++ b/vi/api/Phalcon_Forms_Element_Check.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Forms\\Element\\Check** -*extends* abstract class [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +*extends* abstract class [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) -*implements* [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) +*implements* [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) Source on GitHub @@ -14,130 +14,130 @@ public **render** ([*array* $attributes]) Renders the element widget returning html -public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Phalcon\\Forms\\Element constructor -public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the parent form to the element -public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the parent form to the element -public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element name -public **getName** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getName** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element name -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element filters -public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a filter to current list of filters -public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element filters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a group of validators -public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a validator to the element -public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the validators registered for the element -public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns an array of prepared attributes for Phalcon\\Tag helpers according to the element parameters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default attribute for the element -public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an attribute if present -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets default attributes for the element -public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default attributes for the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets an option for the element -public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an option if present -public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets options for the element -public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the options for the element -public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element label -public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element label -public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Generate the HTML to label the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default value in case the form does not use an entity or there is no value available for the element in _POST -public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default value assigned to the element -public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element value -public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the messages that belongs to the element The element needs to be attached to a form -public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Checks whether there are messages attached to the element -public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the validation messages related to the element -public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Appends a message to the internal message list -public **clear** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **clear** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Clears every element in the form to its default value -public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Magic method __toString renders the widget without attributes \ No newline at end of file diff --git a/vi/api/Phalcon_Forms_Element_Date.md b/vi/api/Phalcon_Forms_Element_Date.md index 9bdd42965358..701a6b5ffe81 100644 --- a/vi/api/Phalcon_Forms_Element_Date.md +++ b/vi/api/Phalcon_Forms_Element_Date.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Forms\\Element\\Date** -*extends* abstract class [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +*extends* abstract class [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) -*implements* [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) +*implements* [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) Source on GitHub @@ -14,130 +14,130 @@ public **render** ([*array* $attributes]) Renders the element widget returning html -public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Phalcon\\Forms\\Element constructor -public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the parent form to the element -public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the parent form to the element -public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element name -public **getName** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getName** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element name -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element filters -public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a filter to current list of filters -public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element filters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a group of validators -public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a validator to the element -public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the validators registered for the element -public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns an array of prepared attributes for Phalcon\\Tag helpers according to the element parameters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default attribute for the element -public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an attribute if present -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets default attributes for the element -public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default attributes for the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets an option for the element -public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an option if present -public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets options for the element -public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the options for the element -public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element label -public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element label -public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Generate the HTML to label the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default value in case the form does not use an entity or there is no value available for the element in _POST -public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default value assigned to the element -public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element value -public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the messages that belongs to the element The element needs to be attached to a form -public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Checks whether there are messages attached to the element -public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the validation messages related to the element -public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Appends a message to the internal message list -public **clear** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **clear** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Clears every element in the form to its default value -public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Magic method __toString renders the widget without attributes \ No newline at end of file diff --git a/vi/api/Phalcon_Forms_Element_Email.md b/vi/api/Phalcon_Forms_Element_Email.md index 46e6c4dd0910..e732f646f360 100644 --- a/vi/api/Phalcon_Forms_Element_Email.md +++ b/vi/api/Phalcon_Forms_Element_Email.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Forms\\Element\\Email** -*extends* abstract class [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +*extends* abstract class [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) -*implements* [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) +*implements* [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) Source on GitHub @@ -14,130 +14,130 @@ public **render** ([*array* $attributes]) Renders the element widget returning html -public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Phalcon\\Forms\\Element constructor -public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the parent form to the element -public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the parent form to the element -public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element name -public **getName** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getName** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element name -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element filters -public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a filter to current list of filters -public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element filters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a group of validators -public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a validator to the element -public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the validators registered for the element -public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns an array of prepared attributes for Phalcon\\Tag helpers according to the element parameters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default attribute for the element -public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an attribute if present -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets default attributes for the element -public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default attributes for the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets an option for the element -public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an option if present -public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets options for the element -public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the options for the element -public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element label -public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element label -public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Generate the HTML to label the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default value in case the form does not use an entity or there is no value available for the element in _POST -public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default value assigned to the element -public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element value -public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the messages that belongs to the element The element needs to be attached to a form -public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Checks whether there are messages attached to the element -public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the validation messages related to the element -public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Appends a message to the internal message list -public **clear** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **clear** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Clears every element in the form to its default value -public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Magic method __toString renders the widget without attributes \ No newline at end of file diff --git a/vi/api/Phalcon_Forms_Element_File.md b/vi/api/Phalcon_Forms_Element_File.md index 04fceec03b0d..b81797926b6f 100644 --- a/vi/api/Phalcon_Forms_Element_File.md +++ b/vi/api/Phalcon_Forms_Element_File.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Forms\\Element\\File** -*extends* abstract class [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +*extends* abstract class [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) -*implements* [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) +*implements* [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) Source on GitHub @@ -14,130 +14,130 @@ public **render** ([*array* $attributes]) Renders the element widget returning html -public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Phalcon\\Forms\\Element constructor -public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the parent form to the element -public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the parent form to the element -public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element name -public **getName** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getName** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element name -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element filters -public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a filter to current list of filters -public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element filters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a group of validators -public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a validator to the element -public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the validators registered for the element -public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns an array of prepared attributes for Phalcon\\Tag helpers according to the element parameters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default attribute for the element -public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an attribute if present -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets default attributes for the element -public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default attributes for the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets an option for the element -public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an option if present -public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets options for the element -public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the options for the element -public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element label -public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element label -public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Generate the HTML to label the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default value in case the form does not use an entity or there is no value available for the element in _POST -public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default value assigned to the element -public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element value -public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the messages that belongs to the element The element needs to be attached to a form -public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Checks whether there are messages attached to the element -public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the validation messages related to the element -public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Appends a message to the internal message list -public **clear** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **clear** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Clears every element in the form to its default value -public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Magic method __toString renders the widget without attributes \ No newline at end of file diff --git a/vi/api/Phalcon_Forms_Element_Hidden.md b/vi/api/Phalcon_Forms_Element_Hidden.md index 317e3fe554b8..91457ea53c89 100644 --- a/vi/api/Phalcon_Forms_Element_Hidden.md +++ b/vi/api/Phalcon_Forms_Element_Hidden.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Forms\\Element\\Hidden** -*extends* abstract class [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +*extends* abstract class [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) -*implements* [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) +*implements* [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) Source on GitHub @@ -14,130 +14,130 @@ public **render** ([*array* $attributes]) Renders the element widget returning html -public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Phalcon\\Forms\\Element constructor -public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the parent form to the element -public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the parent form to the element -public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element name -public **getName** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getName** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element name -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element filters -public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a filter to current list of filters -public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element filters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a group of validators -public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a validator to the element -public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the validators registered for the element -public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns an array of prepared attributes for Phalcon\\Tag helpers according to the element parameters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default attribute for the element -public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an attribute if present -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets default attributes for the element -public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default attributes for the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets an option for the element -public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an option if present -public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets options for the element -public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the options for the element -public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element label -public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element label -public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Generate the HTML to label the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default value in case the form does not use an entity or there is no value available for the element in _POST -public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default value assigned to the element -public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element value -public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the messages that belongs to the element The element needs to be attached to a form -public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Checks whether there are messages attached to the element -public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the validation messages related to the element -public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Appends a message to the internal message list -public **clear** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **clear** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Clears every element in the form to its default value -public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Magic method __toString renders the widget without attributes \ No newline at end of file diff --git a/zh/api/Phalcon_Cli_Router_Route.md b/zh/api/Phalcon_Cli_Router_Route.md index 73e76009acee..290d5404abd8 100644 --- a/zh/api/Phalcon_Cli_Router_Route.md +++ b/zh/api/Phalcon_Cli_Router_Route.md @@ -46,7 +46,7 @@ $router->add( ``` -public [Phalcon\Cli\Router\Route](/en/3.1.2/api/Phalcon_Cli_Router_Route) **beforeMatch** (*callback* $callback) +public [Phalcon\Cli\Router\Route](/en/3.2/api/Phalcon_Cli_Router_Route) **beforeMatch** (*callback* $callback) Sets a callback that is called if the route is matched. The developer can implement any arbitrary conditions here If the callback returns false the route is treated as not matched @@ -74,7 +74,7 @@ public **getReversedPaths** () Returns the paths using positions as keys and names as values -public [Phalcon\Cli\Router\Route](/en/3.1.2/api/Phalcon_Cli_Router_Route) **convert** (*string* $name, *callable* $converter) +public [Phalcon\Cli\Router\Route](/en/3.2/api/Phalcon_Cli_Router_Route) **convert** (*string* $name, *callable* $converter) Adds a converter to perform an additional transformation for certain parameter diff --git a/zh/api/Phalcon_Cli_Task.md b/zh/api/Phalcon_Cli_Task.md index 4090d0b7bf55..15624d08810c 100644 --- a/zh/api/Phalcon_Cli_Task.md +++ b/zh/api/Phalcon_Cli_Task.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cli\\Task** -*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), [Phalcon\Cli\TaskInterface](/en/3.1.2/api/Phalcon_Cli_TaskInterface) +*implements* [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\Cli\TaskInterface](/en/3.2/api/Phalcon_Cli_TaskInterface) Source on GitHub @@ -35,22 +35,22 @@ final public **__construct** () Phalcon\\Cli\\Task constructor -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 **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Sets the event manager -public **getEventsManager** () inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **getEventsManager** () inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Returns the internal event manager -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_Config.md b/zh/api/Phalcon_Config.md index 55a3611a9d38..7b972faed1f5 100644 --- a/zh/api/Phalcon_Config.md +++ b/zh/api/Phalcon_Config.md @@ -28,6 +28,10 @@ $config = new \Phalcon\Config( ``` +## Constants + +*string* **DEFAULT_PATH_DELIMITER** + ## Methods public **__construct** ([*array* $arrayConfig]) @@ -47,6 +51,17 @@ var_dump( ``` +public **path** (*mixed* $path, [*mixed* $defaultValue], [*mixed* $delimiter]) + +Returns a value from current config using a dot separated path. + +```php +path("unknown.path", "default", "."); + +``` + public **get** (*mixed* $index, [*mixed* $defaultValue]) Gets an attribute from the configuration, if the attribute isn't defined returns null If the value is exactly null or is not defined the default value will be used instead @@ -95,7 +110,7 @@ unset($config["database"]); ``` -public **merge** ([Phalcon\Config](/en/3.1.2/api/Phalcon_Config) $config) +public **merge** ([Phalcon\Config](/en/3.2/api/Phalcon_Config) $config) Merges a configuration into the current one @@ -151,6 +166,14 @@ public static **__set_state** (*array* $data) Restores the state of a Phalcon\\Config object +public static **setPathDelimiter** ([*mixed* $delimiter]) + +Sets the default path delimiter + +public static **getPathDelimiter** () + +Gets the default path delimiter + final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) Helper method for merge configs (forwarding nested config instance) \ No newline at end of file diff --git a/zh/api/Phalcon_Config_Adapter_Ini.md b/zh/api/Phalcon_Config_Adapter_Ini.md index 8458550716fa..3576158bc75f 100644 --- a/zh/api/Phalcon_Config_Adapter_Ini.md +++ b/zh/api/Phalcon_Config_Adapter_Ini.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Config\\Adapter\\Ini** -*extends* class [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +*extends* class [Phalcon\Config](/en/3.2/api/Phalcon_Config) *implements* [Countable](http://php.net/manual/en/class.countable.php), [ArrayAccess](http://php.net/manual/en/class.arrayaccess.php) @@ -51,6 +51,10 @@ $config = new \Phalcon\Config\Adapter\Ini( ``` +## Constants + +*string* **DEFAULT_PATH_DELIMITER** + ## Methods public **__construct** (*mixed* $filePath, [*mixed* $mode]) @@ -81,7 +85,7 @@ protected **_cast** (*mixed* $ini) We have to cast values manually because parse_ini_file() has a poor implementation. -public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Allows to check whether an attribute is defined using the array-syntax @@ -94,7 +98,18 @@ var_dump( ``` -public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **path** (*mixed* $path, [*mixed* $defaultValue], [*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Returns a value from current config using a dot separated path. + +```php +path("unknown.path", "default", "."); + +``` + +public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute from the configuration, if the attribute isn't defined returns null If the value is exactly null or is not defined the default value will be used instead @@ -105,7 +120,7 @@ echo $config->get("controllersDir", "../app/controllers/"); ``` -public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute using the array-syntax @@ -118,7 +133,7 @@ print_r( ``` -public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Sets an attribute using the array-syntax @@ -131,7 +146,7 @@ $config["database"] = [ ``` -public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Unsets an attribute using the array-syntax @@ -142,7 +157,7 @@ unset($config["database"]); ``` -public **merge** ([Phalcon\Config](/en/3.1.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **merge** ([Phalcon\Config](/en/3.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Merges a configuration into the current one @@ -161,7 +176,7 @@ $globalConfig->merge($appConfig); ``` -public **toArray** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **toArray** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Converts recursively the object to an array @@ -174,7 +189,7 @@ print_r( ``` -public **count** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **count** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Returns the count of properties set in the config @@ -194,10 +209,18 @@ print $config->count(); ``` -public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Restores the state of a Phalcon\\Config object -final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **setPathDelimiter** ([*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Sets the default path delimiter + +public static **getPathDelimiter** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Gets the default path delimiter + +final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Helper method for merge configs (forwarding nested config instance) \ No newline at end of file diff --git a/zh/api/Phalcon_Config_Adapter_Json.md b/zh/api/Phalcon_Config_Adapter_Json.md index 37d4418b4241..860df550aee3 100644 --- a/zh/api/Phalcon_Config_Adapter_Json.md +++ b/zh/api/Phalcon_Config_Adapter_Json.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Config\\Adapter\\Json** -*extends* class [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +*extends* class [Phalcon\Config](/en/3.2/api/Phalcon_Config) *implements* [Countable](http://php.net/manual/en/class.countable.php), [ArrayAccess](http://php.net/manual/en/class.arrayaccess.php) @@ -29,13 +29,17 @@ echo $config->models->metadata; ``` +## Constants + +*string* **DEFAULT_PATH_DELIMITER** + ## Methods public **__construct** (*mixed* $filePath) Phalcon\\Config\\Adapter\\Json constructor -public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Allows to check whether an attribute is defined using the array-syntax @@ -48,7 +52,18 @@ var_dump( ``` -public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **path** (*mixed* $path, [*mixed* $defaultValue], [*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Returns a value from current config using a dot separated path. + +```php +path("unknown.path", "default", "."); + +``` + +public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute from the configuration, if the attribute isn't defined returns null If the value is exactly null or is not defined the default value will be used instead @@ -59,7 +74,7 @@ echo $config->get("controllersDir", "../app/controllers/"); ``` -public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute using the array-syntax @@ -72,7 +87,7 @@ print_r( ``` -public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Sets an attribute using the array-syntax @@ -85,7 +100,7 @@ $config["database"] = [ ``` -public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Unsets an attribute using the array-syntax @@ -96,7 +111,7 @@ unset($config["database"]); ``` -public **merge** ([Phalcon\Config](/en/3.1.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **merge** ([Phalcon\Config](/en/3.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Merges a configuration into the current one @@ -115,7 +130,7 @@ $globalConfig->merge($appConfig); ``` -public **toArray** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **toArray** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Converts recursively the object to an array @@ -128,7 +143,7 @@ print_r( ``` -public **count** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **count** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Returns the count of properties set in the config @@ -148,10 +163,18 @@ print $config->count(); ``` -public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Restores the state of a Phalcon\\Config object -final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **setPathDelimiter** ([*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Sets the default path delimiter + +public static **getPathDelimiter** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Gets the default path delimiter + +final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Helper method for merge configs (forwarding nested config instance) \ No newline at end of file diff --git a/zh/api/Phalcon_Config_Adapter_Php.md b/zh/api/Phalcon_Config_Adapter_Php.md index d2dbf0e51bc1..844d5a6cdd20 100644 --- a/zh/api/Phalcon_Config_Adapter_Php.md +++ b/zh/api/Phalcon_Config_Adapter_Php.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Config\\Adapter\\Php** -*extends* class [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +*extends* class [Phalcon\Config](/en/3.2/api/Phalcon_Config) *implements* [Countable](http://php.net/manual/en/class.countable.php), [ArrayAccess](http://php.net/manual/en/class.arrayaccess.php) @@ -44,13 +44,17 @@ echo $config->database->username; ``` +## Constants + +*string* **DEFAULT_PATH_DELIMITER** + ## Methods public **__construct** (*mixed* $filePath) Phalcon\\Config\\Adapter\\Php constructor -public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Allows to check whether an attribute is defined using the array-syntax @@ -63,7 +67,18 @@ var_dump( ``` -public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **path** (*mixed* $path, [*mixed* $defaultValue], [*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Returns a value from current config using a dot separated path. + +```php +path("unknown.path", "default", "."); + +``` + +public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute from the configuration, if the attribute isn't defined returns null If the value is exactly null or is not defined the default value will be used instead @@ -74,7 +89,7 @@ echo $config->get("controllersDir", "../app/controllers/"); ``` -public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute using the array-syntax @@ -87,7 +102,7 @@ print_r( ``` -public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Sets an attribute using the array-syntax @@ -100,7 +115,7 @@ $config["database"] = [ ``` -public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Unsets an attribute using the array-syntax @@ -111,7 +126,7 @@ unset($config["database"]); ``` -public **merge** ([Phalcon\Config](/en/3.1.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **merge** ([Phalcon\Config](/en/3.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Merges a configuration into the current one @@ -130,7 +145,7 @@ $globalConfig->merge($appConfig); ``` -public **toArray** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **toArray** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Converts recursively the object to an array @@ -143,7 +158,7 @@ print_r( ``` -public **count** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **count** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Returns the count of properties set in the config @@ -163,10 +178,18 @@ print $config->count(); ``` -public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Restores the state of a Phalcon\\Config object -final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **setPathDelimiter** ([*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Sets the default path delimiter + +public static **getPathDelimiter** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Gets the default path delimiter + +final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Helper method for merge configs (forwarding nested config instance) \ No newline at end of file diff --git a/zh/api/Phalcon_Config_Adapter_Yaml.md b/zh/api/Phalcon_Config_Adapter_Yaml.md index a63e7a518e4d..1955bc04918c 100644 --- a/zh/api/Phalcon_Config_Adapter_Yaml.md +++ b/zh/api/Phalcon_Config_Adapter_Yaml.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Config\\Adapter\\Yaml** -*extends* class [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +*extends* class [Phalcon\Config](/en/3.2/api/Phalcon_Config) *implements* [Countable](http://php.net/manual/en/class.countable.php), [ArrayAccess](http://php.net/manual/en/class.arrayaccess.php) @@ -46,13 +46,17 @@ echo $config->models->metadata; ``` +## Constants + +*string* **DEFAULT_PATH_DELIMITER** + ## Methods public **__construct** (*mixed* $filePath, [*array* $callbacks]) Phalcon\\Config\\Adapter\\Yaml constructor -public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetExists** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Allows to check whether an attribute is defined using the array-syntax @@ -65,7 +69,18 @@ var_dump( ``` -public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **path** (*mixed* $path, [*mixed* $defaultValue], [*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Returns a value from current config using a dot separated path. + +```php +path("unknown.path", "default", "."); + +``` + +public **get** (*mixed* $index, [*mixed* $defaultValue]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute from the configuration, if the attribute isn't defined returns null If the value is exactly null or is not defined the default value will be used instead @@ -76,7 +91,7 @@ echo $config->get("controllersDir", "../app/controllers/"); ``` -public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetGet** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Gets an attribute using the array-syntax @@ -89,7 +104,7 @@ print_r( ``` -public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetSet** (*mixed* $index, *mixed* $value) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Sets an attribute using the array-syntax @@ -102,7 +117,7 @@ $config["database"] = [ ``` -public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **offsetUnset** (*mixed* $index) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Unsets an attribute using the array-syntax @@ -113,7 +128,7 @@ unset($config["database"]); ``` -public **merge** ([Phalcon\Config](/en/3.1.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **merge** ([Phalcon\Config](/en/3.2/api/Phalcon_Config) $config) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Merges a configuration into the current one @@ -132,7 +147,7 @@ $globalConfig->merge($appConfig); ``` -public **toArray** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **toArray** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Converts recursively the object to an array @@ -145,7 +160,7 @@ print_r( ``` -public **count** () inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public **count** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Returns the count of properties set in the config @@ -165,10 +180,18 @@ print $config->count(); ``` -public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **__set_state** (*array* $data) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Restores the state of a Phalcon\\Config object -final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.1.2/api/Phalcon_Config) +public static **setPathDelimiter** ([*mixed* $delimiter]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Sets the default path delimiter + +public static **getPathDelimiter** () inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) + +Gets the default path delimiter + +final protected *Config merged config* **_merge** (*Config* $config, [*mixed* $instance]) inherited from [Phalcon\Config](/en/3.2/api/Phalcon_Config) Helper method for merge configs (forwarding nested config instance) \ No newline at end of file diff --git a/zh/api/Phalcon_Config_Exception.md b/zh/api/Phalcon_Config_Exception.md index fe180ca140c2..870c720975df 100644 --- a/zh/api/Phalcon_Config_Exception.md +++ b/zh/api/Phalcon_Config_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Config\\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_Crypt.md b/zh/api/Phalcon_Crypt.md index 02729550912f..348e1401a9a0 100644 --- a/zh/api/Phalcon_Crypt.md +++ b/zh/api/Phalcon_Crypt.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Crypt** -*implements* [Phalcon\CryptInterface](/en/3.1.2/api/Phalcon_CryptInterface) +*implements* [Phalcon\CryptInterface](/en/3.2/api/Phalcon_CryptInterface) Source on GitHub diff --git a/zh/api/Phalcon_Crypt_Exception.md b/zh/api/Phalcon_Crypt_Exception.md index 677b1db3e78e..ea2a2af5ed7e 100644 --- a/zh/api/Phalcon_Crypt_Exception.md +++ b/zh/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/zh/api/Phalcon_Flash.md b/zh/api/Phalcon_Flash.md index 46db08bba6b6..fab60ddca1fb 100644 --- a/zh/api/Phalcon_Flash.md +++ b/zh/api/Phalcon_Flash.md @@ -1,6 +1,6 @@ # Abstract class **Phalcon\\Flash** -*implements* [Phalcon\FlashInterface](/en/3.1.2/api/Phalcon_FlashInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.1.2/api/Phalcon_Di_InjectionAwareInterface) +*implements* [Phalcon\FlashInterface](/en/3.2/api/Phalcon_FlashInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface) Source on GitHub @@ -32,11 +32,11 @@ public **getEscaperService** () Returns the Escaper Service -public **setEscaperService** ([Phalcon\EscaperInterface](/en/3.1.2/api/Phalcon_EscaperInterface) $escaperService) +public **setEscaperService** ([Phalcon\EscaperInterface](/en/3.2/api/Phalcon_EscaperInterface) $escaperService) Sets the Escaper Service -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 @@ -115,6 +115,6 @@ public **clear** () Clears accumulated messages when implicit flush is disabled -abstract public **message** (*mixed* $type, *mixed* $message) inherited from [Phalcon\FlashInterface](/en/3.1.2/api/Phalcon_FlashInterface) +abstract public **message** (*mixed* $type, *mixed* $message) inherited from [Phalcon\FlashInterface](/en/3.2/api/Phalcon_FlashInterface) ... \ No newline at end of file diff --git a/zh/api/Phalcon_Flash_Direct.md b/zh/api/Phalcon_Flash_Direct.md index 5563e108b68e..9b8045cf2a4e 100644 --- a/zh/api/Phalcon_Flash_Direct.md +++ b/zh/api/Phalcon_Flash_Direct.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Flash\\Direct** -*extends* abstract class [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +*extends* abstract class [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) -*implements* [Phalcon\Di\InjectionAwareInterface](/en/3.1.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\FlashInterface](/en/3.1.2/api/Phalcon_FlashInterface) +*implements* [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\FlashInterface](/en/3.2/api/Phalcon_FlashInterface) Source on GitHub @@ -18,47 +18,47 @@ public **output** ([*mixed* $remove]) Prints the messages accumulated in the flasher -public **__construct** ([*mixed* $cssClasses]) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **__construct** ([*mixed* $cssClasses]) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Phalcon\\Flash constructor -public **getAutoescape** () inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **getAutoescape** () inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Returns the autoescape mode in generated html -public **setAutoescape** (*mixed* $autoescape) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **setAutoescape** (*mixed* $autoescape) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Set the autoescape mode in generated html -public **getEscaperService** () inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **getEscaperService** () inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Returns the Escaper Service -public **setEscaperService** ([Phalcon\EscaperInterface](/en/3.1.2/api/Phalcon_EscaperInterface) $escaperService) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **setEscaperService** ([Phalcon\EscaperInterface](/en/3.2/api/Phalcon_EscaperInterface) $escaperService) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Sets the Escaper Service -public **setDI** ([Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **setDI** ([Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Sets the dependency injector -public **getDI** () inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **getDI** () inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Returns the internal dependency injector -public **setImplicitFlush** (*mixed* $implicitFlush) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **setImplicitFlush** (*mixed* $implicitFlush) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Set whether the output must be implicitly flushed to the output or returned as string -public **setAutomaticHtml** (*mixed* $automaticHtml) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **setAutomaticHtml** (*mixed* $automaticHtml) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Set if the output must be implicitly formatted with HTML -public **setCssClasses** (*array* $cssClasses) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **setCssClasses** (*array* $cssClasses) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Set an array with CSS classes to format the messages -public **error** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **error** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Shows a HTML error message @@ -69,7 +69,7 @@ $flash->error("This is an error"); ``` -public **notice** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **notice** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Shows a HTML notice/information message @@ -80,7 +80,7 @@ $flash->notice("This is an information"); ``` -public **success** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **success** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Shows a HTML success message @@ -91,7 +91,7 @@ $flash->success("The process was finished successfully"); ``` -public **warning** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **warning** (*mixed* $message) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Shows a HTML warning message @@ -102,7 +102,7 @@ $flash->warning("Hey, this is important"); ``` -public *string* | *void* **outputMessage** (*mixed* $type, *string* | *array* $message) inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public *string* | *void* **outputMessage** (*mixed* $type, *string* | *array* $message) inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Outputs a message formatting it with HTML @@ -113,6 +113,6 @@ $flash->outputMessage("error", $message); ``` -public **clear** () inherited from [Phalcon\Flash](/en/3.1.2/api/Phalcon_Flash) +public **clear** () inherited from [Phalcon\Flash](/en/3.2/api/Phalcon_Flash) Clears accumulated messages when implicit flush is disabled \ No newline at end of file diff --git a/zh/api/Phalcon_Forms_ElementInterface.md b/zh/api/Phalcon_Forms_ElementInterface.md index bde079440bdc..8108787311a9 100644 --- a/zh/api/Phalcon_Forms_ElementInterface.md +++ b/zh/api/Phalcon_Forms_ElementInterface.md @@ -4,7 +4,7 @@ ## Methods -abstract public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) +abstract public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) ... @@ -36,7 +36,7 @@ abstract public **addValidators** (*array* $validators, [*mixed* $merge]) ... -abstract public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) +abstract public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) ... @@ -112,11 +112,11 @@ abstract public **hasMessages** () ... -abstract public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) +abstract public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) ... -abstract public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) +abstract public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) ... diff --git a/zh/api/Phalcon_Forms_Element_Check.md b/zh/api/Phalcon_Forms_Element_Check.md index f7f53cada4b4..320a3d0b2bed 100644 --- a/zh/api/Phalcon_Forms_Element_Check.md +++ b/zh/api/Phalcon_Forms_Element_Check.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Forms\\Element\\Check** -*extends* abstract class [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +*extends* abstract class [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) -*implements* [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) +*implements* [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) Source on GitHub @@ -14,130 +14,130 @@ public **render** ([*array* $attributes]) Renders the element widget returning html -public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Phalcon\\Forms\\Element constructor -public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the parent form to the element -public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the parent form to the element -public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element name -public **getName** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getName** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element name -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element filters -public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a filter to current list of filters -public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element filters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a group of validators -public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a validator to the element -public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the validators registered for the element -public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns an array of prepared attributes for Phalcon\\Tag helpers according to the element parameters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default attribute for the element -public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an attribute if present -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets default attributes for the element -public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default attributes for the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets an option for the element -public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an option if present -public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets options for the element -public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the options for the element -public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element label -public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element label -public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Generate the HTML to label the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default value in case the form does not use an entity or there is no value available for the element in _POST -public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default value assigned to the element -public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element value -public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the messages that belongs to the element The element needs to be attached to a form -public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Checks whether there are messages attached to the element -public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the validation messages related to the element -public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Appends a message to the internal message list -public **clear** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **clear** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Clears every element in the form to its default value -public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Magic method __toString renders the widget without attributes \ No newline at end of file diff --git a/zh/api/Phalcon_Forms_Element_Date.md b/zh/api/Phalcon_Forms_Element_Date.md index 9bdd42965358..701a6b5ffe81 100644 --- a/zh/api/Phalcon_Forms_Element_Date.md +++ b/zh/api/Phalcon_Forms_Element_Date.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Forms\\Element\\Date** -*extends* abstract class [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +*extends* abstract class [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) -*implements* [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) +*implements* [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) Source on GitHub @@ -14,130 +14,130 @@ public **render** ([*array* $attributes]) Renders the element widget returning html -public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Phalcon\\Forms\\Element constructor -public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the parent form to the element -public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the parent form to the element -public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element name -public **getName** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getName** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element name -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element filters -public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a filter to current list of filters -public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element filters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a group of validators -public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a validator to the element -public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the validators registered for the element -public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns an array of prepared attributes for Phalcon\\Tag helpers according to the element parameters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default attribute for the element -public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an attribute if present -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets default attributes for the element -public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default attributes for the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets an option for the element -public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an option if present -public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets options for the element -public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the options for the element -public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element label -public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element label -public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Generate the HTML to label the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default value in case the form does not use an entity or there is no value available for the element in _POST -public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default value assigned to the element -public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element value -public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the messages that belongs to the element The element needs to be attached to a form -public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Checks whether there are messages attached to the element -public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the validation messages related to the element -public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Appends a message to the internal message list -public **clear** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **clear** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Clears every element in the form to its default value -public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Magic method __toString renders the widget without attributes \ No newline at end of file diff --git a/zh/api/Phalcon_Forms_Element_Email.md b/zh/api/Phalcon_Forms_Element_Email.md index 46e6c4dd0910..e732f646f360 100644 --- a/zh/api/Phalcon_Forms_Element_Email.md +++ b/zh/api/Phalcon_Forms_Element_Email.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Forms\\Element\\Email** -*extends* abstract class [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +*extends* abstract class [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) -*implements* [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) +*implements* [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) Source on GitHub @@ -14,130 +14,130 @@ public **render** ([*array* $attributes]) Renders the element widget returning html -public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Phalcon\\Forms\\Element constructor -public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the parent form to the element -public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the parent form to the element -public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element name -public **getName** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getName** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element name -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element filters -public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a filter to current list of filters -public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element filters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a group of validators -public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a validator to the element -public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the validators registered for the element -public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns an array of prepared attributes for Phalcon\\Tag helpers according to the element parameters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default attribute for the element -public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an attribute if present -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets default attributes for the element -public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default attributes for the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets an option for the element -public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an option if present -public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets options for the element -public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the options for the element -public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element label -public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element label -public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Generate the HTML to label the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default value in case the form does not use an entity or there is no value available for the element in _POST -public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default value assigned to the element -public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element value -public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the messages that belongs to the element The element needs to be attached to a form -public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Checks whether there are messages attached to the element -public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the validation messages related to the element -public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Appends a message to the internal message list -public **clear** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **clear** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Clears every element in the form to its default value -public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Magic method __toString renders the widget without attributes \ No newline at end of file diff --git a/zh/api/Phalcon_Forms_Element_File.md b/zh/api/Phalcon_Forms_Element_File.md index 04fceec03b0d..b81797926b6f 100644 --- a/zh/api/Phalcon_Forms_Element_File.md +++ b/zh/api/Phalcon_Forms_Element_File.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Forms\\Element\\File** -*extends* abstract class [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +*extends* abstract class [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) -*implements* [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) +*implements* [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) Source on GitHub @@ -14,130 +14,130 @@ public **render** ([*array* $attributes]) Renders the element widget returning html -public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Phalcon\\Forms\\Element constructor -public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the parent form to the element -public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the parent form to the element -public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element name -public **getName** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getName** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element name -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element filters -public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a filter to current list of filters -public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element filters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a group of validators -public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a validator to the element -public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the validators registered for the element -public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns an array of prepared attributes for Phalcon\\Tag helpers according to the element parameters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default attribute for the element -public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an attribute if present -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets default attributes for the element -public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default attributes for the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets an option for the element -public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an option if present -public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets options for the element -public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the options for the element -public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element label -public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element label -public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Generate the HTML to label the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default value in case the form does not use an entity or there is no value available for the element in _POST -public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default value assigned to the element -public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element value -public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the messages that belongs to the element The element needs to be attached to a form -public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Checks whether there are messages attached to the element -public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the validation messages related to the element -public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Appends a message to the internal message list -public **clear** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **clear** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Clears every element in the form to its default value -public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Magic method __toString renders the widget without attributes \ No newline at end of file diff --git a/zh/api/Phalcon_Forms_Element_Hidden.md b/zh/api/Phalcon_Forms_Element_Hidden.md index 317e3fe554b8..91457ea53c89 100644 --- a/zh/api/Phalcon_Forms_Element_Hidden.md +++ b/zh/api/Phalcon_Forms_Element_Hidden.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Forms\\Element\\Hidden** -*extends* abstract class [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +*extends* abstract class [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) -*implements* [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) +*implements* [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) Source on GitHub @@ -14,130 +14,130 @@ public **render** ([*array* $attributes]) Renders the element widget returning html -public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Phalcon\\Forms\\Element constructor -public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the parent form to the element -public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the parent form to the element -public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element name -public **getName** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getName** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element name -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element filters -public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a filter to current list of filters -public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element filters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a group of validators -public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a validator to the element -public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the validators registered for the element -public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns an array of prepared attributes for Phalcon\\Tag helpers according to the element parameters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default attribute for the element -public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an attribute if present -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets default attributes for the element -public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default attributes for the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets an option for the element -public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an option if present -public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets options for the element -public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the options for the element -public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element label -public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element label -public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Generate the HTML to label the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default value in case the form does not use an entity or there is no value available for the element in _POST -public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default value assigned to the element -public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element value -public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the messages that belongs to the element The element needs to be attached to a form -public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Checks whether there are messages attached to the element -public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the validation messages related to the element -public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Appends a message to the internal message list -public **clear** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **clear** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Clears every element in the form to its default value -public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Magic method __toString renders the widget without attributes \ No newline at end of file diff --git a/zh/api/Phalcon_Forms_Element_Numeric.md b/zh/api/Phalcon_Forms_Element_Numeric.md index 1b13ae0d294f..cd365f3c022b 100644 --- a/zh/api/Phalcon_Forms_Element_Numeric.md +++ b/zh/api/Phalcon_Forms_Element_Numeric.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Forms\\Element\\Numeric** -*extends* abstract class [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +*extends* abstract class [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) -*implements* [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) +*implements* [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) Source on GitHub @@ -14,130 +14,130 @@ public **render** ([*array* $attributes]) Renders the element widget returning html -public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__construct** (*string* $name, [*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Phalcon\\Forms\\Element constructor -public **setForm** ([Phalcon\Forms\Form](/en/3.1.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setForm** ([Phalcon\Forms\Form](/en/3.2/api/Phalcon_Forms_Form) $form) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the parent form to the element -public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getForm** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the parent form to the element -public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setName** (*mixed* $name) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element name -public **getName** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getName** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element name -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setFilters** (*array* | *string* $filters) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element filters -public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addFilter** (*mixed* $filter) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a filter to current list of filters -public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getFilters** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element filters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **addValidators** (*array* $validators, [*mixed* $merge]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a group of validators -public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.1.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **addValidator** ([Phalcon\Validation\ValidatorInterface](/en/3.2/api/Phalcon_Validation_ValidatorInterface) $validator) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Adds a validator to the element -public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValidators** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the validators registered for the element -public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **prepareAttributes** ([*array* $attributes], [*mixed* $useChecked]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns an array of prepared attributes for Phalcon\\Tag helpers according to the element parameters -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setAttribute** (*string* $attribute, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default attribute for the element -public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getAttribute** (*string* $attribute, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an attribute if present -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets default attributes for the element -public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getAttributes** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default attributes for the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setUserOption** (*string* $option, *mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets an option for the element -public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public *mixed* **getUserOption** (*string* $option, [*mixed* $defaultValue]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the value of an option if present -public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setUserOptions** (*array* $options) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets options for the element -public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getUserOptions** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the options for the element -public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setLabel** (*mixed* $label) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the element label -public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getLabel** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element label -public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **label** ([*array* $attributes]) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Generate the HTML to label the element -public [Phalcon\Forms\ElementInterface](/en/3.1.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public [Phalcon\Forms\ElementInterface](/en/3.2/api/Phalcon_Forms_ElementInterface) **setDefault** (*mixed* $value) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets a default value in case the form does not use an entity or there is no value available for the element in _POST -public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getDefault** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the default value assigned to the element -public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getValue** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the element value -public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **getMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Returns the messages that belongs to the element The element needs to be attached to a form -public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **hasMessages** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Checks whether there are messages attached to the element -public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.1.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **setMessages** ([Phalcon\Validation\Message\Group](/en/3.2/api/Phalcon_Validation_Message_Group) $group) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Sets the validation messages related to the element -public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.1.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **appendMessage** ([Phalcon\Validation\MessageInterface](/en/3.2/api/Phalcon_Validation_MessageInterface) $message) inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Appends a message to the internal message list -public **clear** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **clear** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Clears every element in the form to its default value -public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.1.2/api/Phalcon_Forms_Element) +public **__toString** () inherited from [Phalcon\Forms\Element](/en/3.2/api/Phalcon_Forms_Element) Magic method __toString renders the widget without attributes \ No newline at end of file