Abstract Class Socialveo\Core\forms\SocialveoForm

InheritanceSocialveo\Core\forms\SocialveoForm » Phalcon\Forms\Form
Uses TraitsSocialveo\Core\Translatable
SubclassesSocialveo\Frontend\forms\Network, Socialveo\Frontend\forms\Payment

Class SocialveoForm

Protected Methods

Hide inherited methods

MethodDescriptionDefined By
renderView() Renders partial view without layout Socialveo\Core\forms\SocialveoForm

Method Details

getData() public method

Add default data

public array getData ( $data )
$data array
getForm() public static method

Get form

yii\apidoc\models\ClassDoc Object ( [parentClass] => Phalcon\Forms\Form [isAbstract] => 1 [isFinal] => [interfaces] => Array ( ) [traits] => Array ( [0] => Socialveo\Core\Translatable ) [subclasses] => Array ( [0] => Socialveo\Frontend\forms\Payment [1] => Socialveo\Frontend\forms\Network ) [events] => Array ( ) [constants] => Array ( ) [authors] => Array ( ) [methods] => Array ( [t] => yii\apidoc\models\MethodDoc Object ( [isAbstract] => [isFinal] => [isStatic] => [visibility] => public [definedBy] => Socialveo\Core\Translatable [params] => Array ( [$message] => yii\apidoc\models\ParamDoc Object ( [name] => $message [typeHint] => [isOptional] => 1 [defaultValue] => null [isPassedByReference] => [description] => [optional] [type] => string|array|null [types] => Array ( [0] => string [1] => array [2] => null ) [sourceFile] => vendor/socialveo/socialveo/socialveo/core/Translatable.php ) [$domain] => yii\apidoc\models\ParamDoc Object ( [name] => $domain [typeHint] => [isOptional] => 1 [defaultValue] => null [isPassedByReference] => [description] => [optional] [type] => string [types] => Array ( [0] => string ) [sourceFile] => vendor/socialveo/socialveo/socialveo/core/Translatable.php ) [$placeholders] => yii\apidoc\models\ParamDoc Object ( [name] => $placeholders [typeHint] => [isOptional] => 1 [defaultValue] => [] [isPassedByReference] => [description] => [optional] [type] => array [types] => Array ( [0] => array ) [sourceFile] => vendor/socialveo/socialveo/socialveo/core/Translatable.php ) ) [exceptions] => Array ( [\Exception] => ) [return] => [returnType] => \Socialveo\Core\library\Gettext|string [returnTypes] => Array ( [0] => \Socialveo\Core\library\Gettext [1] => string ) [isReturnByReference] => [phpDocContext] => phpDocumentor\Reflection\DocBlock\Context Object ( [namespace:protected] => Socialveo\Core [namespace_aliases:protected] => Array ( [Di] => \Phalcon\Di [Gettext] => \Socialveo\Core\library\Gettext ) [lsen:protected] => ) [name] => t [sourceFile] => vendor/socialveo/socialveo/socialveo/core/Translatable.php [startLine] => 35 [endLine] => 75 [shortDescription] => Gets translations [description] => [since] => [deprecatedSince] => [deprecatedReason] => [tags] => Array ( ) ) [_t] => yii\apidoc\models\MethodDoc Object ( [isAbstract] => [isFinal] => [isStatic] => 1 [visibility] => public [definedBy] => Socialveo\Core\Translatable [params] => Array ( [$message] => yii\apidoc\models\ParamDoc Object ( [name] => $message [typeHint] => [isOptional] => 1 [defaultValue] => null [isPassedByReference] => [description] => [optional] [type] => string|array|null [types] => Array ( [0] => string [1] => array [2] => null ) [sourceFile] => vendor/socialveo/socialveo/socialveo/core/Translatable.php ) [$domain] => yii\apidoc\models\ParamDoc Object ( [name] => $domain [typeHint] => [isOptional] => 1 [defaultValue] => null [isPassedByReference] => [description] => [optional] [type] => string [types] => Array ( [0] => string ) [sourceFile] => vendor/socialveo/socialveo/socialveo/core/Translatable.php ) [$placeholders] => yii\apidoc\models\ParamDoc Object ( [name] => $placeholders [typeHint] => [isOptional] => 1 [defaultValue] => [] [isPassedByReference] => [description] => [optional] [type] => array [types] => Array ( [0] => array ) [sourceFile] => vendor/socialveo/socialveo/socialveo/core/Translatable.php ) ) [exceptions] => Array ( [\Exception] => ) [return] => [returnType] => \Socialveo\Core\library\Gettext|string [returnTypes] => Array ( [0] => \Socialveo\Core\library\Gettext [1] => string ) [isReturnByReference] => [phpDocContext] => phpDocumentor\Reflection\DocBlock\Context Object ( [namespace:protected] => Socialveo\Core [namespace_aliases:protected] => Array ( [Di] => \Phalcon\Di [Gettext] => \Socialveo\Core\library\Gettext ) [lsen:protected] => ) [name] => _t [sourceFile] => vendor/socialveo/socialveo/socialveo/core/Translatable.php [startLine] => 85 [endLine] => 126 [shortDescription] => Gets translations [description] => [since] => [deprecatedSince] => [deprecatedReason] => [tags] => Array ( ) ) [getForm] => yii\apidoc\models\MethodDoc Object ( [isAbstract] => [isFinal] => [isStatic] => 1 [visibility] => public [definedBy] => Socialveo\Core\forms\SocialveoForm [params] => Array ( [$name] => yii\apidoc\models\ParamDoc Object ( [name] => $name [typeHint] => [isOptional] => [defaultValue] => [isPassedByReference] => [description] => [type] => string [types] => Array ( [0] => string ) [sourceFile] => vendor/socialveo/socialveo/socialveo/core/forms/SocialveoForm.php ) ) [exceptions] => Array ( ) [return] => [returnType] => string|\Phalcon\Forms\Form|static [returnTypes] => Array ( [0] => string [1] => \Phalcon\Forms\Form [2] => static ) [isReturnByReference] => [phpDocContext] => phpDocumentor\Reflection\DocBlock\Context Object ( [namespace:protected] => Socialveo\Core\forms [namespace_aliases:protected] => Array ( [Config] => \Phalcon\Config [Di] => \Phalcon\Di [Hidden] => \Phalcon\Forms\Element\Hidden [Select] => \Phalcon\Forms\Element\Select [Form] => \Phalcon\Forms\Form [Text] => \Phalcon\Text [SocialveoModel] => \Socialveo\Core\models\SocialveoModel [Translatable] => \Socialveo\Core\Translatable [FrontendController] => \Socialveo\Frontend\controllers\FrontendController ) [lsen:protected] => ) [name] => getForm [sourceFile] => vendor/socialveo/socialveo/socialveo/core/forms/SocialveoForm.php [startLine] => 39 [endLine] => 75 [shortDescription] => Get form [description] => [since] => [deprecatedSince] => [deprecatedReason] => [tags] => Array ( ) ) [getFormInstance] => yii\apidoc\models\MethodDoc Object ( [isAbstract] => [isFinal] => [isStatic] => 1 [visibility] => public [definedBy] => Socialveo\Core\forms\SocialveoForm [params] => Array ( [$name] => yii\apidoc\models\ParamDoc Object ( [name] => $name [typeHint] => [isOptional] => [defaultValue] => [isPassedByReference] => [description] => Form name [type] => string [types] => Array ( [0] => string ) [sourceFile] => vendor/socialveo/socialveo/socialveo/core/forms/SocialveoForm.php ) [$args] => yii\apidoc\models\ParamDoc Object ( [name] => $args [typeHint] => [isOptional] => 1 [defaultValue] => null [isPassedByReference] => [description] => [optional] Form arguments [type] => array [types] => Array ( [0] => array ) [sourceFile] => vendor/socialveo/socialveo/socialveo/core/forms/SocialveoForm.php ) ) [exceptions] => Array ( ) [return] => [returnType] => \Phalcon\Forms\Form|\Socialveo\Core\forms\SocialveoForm|static [returnTypes] => Array ( [0] => \Phalcon\Forms\Form [1] => \Socialveo\Core\forms\SocialveoForm [2] => static ) [isReturnByReference] => [phpDocContext] => phpDocumentor\Reflection\DocBlock\Context Object ( [namespace:protected] => Socialveo\Core\forms [namespace_aliases:protected] => Array ( [Config] => \Phalcon\Config [Di] => \Phalcon\Di [Hidden] => \Phalcon\Forms\Element\Hidden [Select] => \Phalcon\Forms\Element\Select [Form] => \Phalcon\Forms\Form [Text] => \Phalcon\Text [SocialveoModel] => \Socialveo\Core\models\SocialveoModel [Translatable] => \Socialveo\Core\Translatable [FrontendController] => \Socialveo\Frontend\controllers\FrontendController ) [lsen:protected] => ) [name] => getFormInstance [sourceFile] => vendor/socialveo/socialveo/socialveo/core/forms/SocialveoForm.php [startLine] => 83 [endLine] => 102 [shortDescription] => Get form instance [description] => [since] => [deprecatedSince] => [deprecatedReason] => [tags] => Array ( ) ) [renderView] => yii\apidoc\models\MethodDoc Object ( [isAbstract] => [isFinal] => [isStatic] => [visibility] => protected [definedBy] => Socialveo\Core\forms\SocialveoForm [params] => Array ( [$view] => yii\apidoc\models\ParamDoc Object ( [name] => $view [typeHint] => [isOptional] => [defaultValue] => [isPassedByReference] => [description] => View location [type] => string [types] => Array ( [0] => string ) [sourceFile] => vendor/socialveo/socialveo/socialveo/core/forms/SocialveoForm.php ) [$params] => yii\apidoc\models\ParamDoc Object ( [name] => $params [typeHint] => [isOptional] => 1 [defaultValue] => null [isPassedByReference] => [description] => [optional] View params [type] => array [types] => Array ( [0] => array ) [sourceFile] => vendor/socialveo/socialveo/socialveo/core/forms/SocialveoForm.php ) ) [exceptions] => Array ( ) [return] => Html content [returnType] => string [returnTypes] => Array ( [0] => string ) [isReturnByReference] => [phpDocContext] => phpDocumentor\Reflection\DocBlock\Context Object ( [namespace:protected] => Socialveo\Core\forms [namespace_aliases:protected] => Array ( [Config] => \Phalcon\Config [Di] => \Phalcon\Di [Hidden] => \Phalcon\Forms\Element\Hidden [Select] => \Phalcon\Forms\Element\Select [Form] => \Phalcon\Forms\Form [Text] => \Phalcon\Text [SocialveoModel] => \Socialveo\Core\models\SocialveoModel [Translatable] => \Socialveo\Core\Translatable [FrontendController] => \Socialveo\Frontend\controllers\FrontendController ) [lsen:protected] => ) [name] => renderView [sourceFile] => vendor/socialveo/socialveo/socialveo/core/forms/SocialveoForm.php [startLine] => 111 [endLine] => 123 [shortDescription] => Renders partial view without layout [description] => [since] => [deprecatedSince] => [deprecatedReason] => [tags] => Array ( ) ) [getData] => yii\apidoc\models\MethodDoc Object ( [isAbstract] => [isFinal] => [isStatic] => [visibility] => public [definedBy] => Socialveo\Core\forms\SocialveoForm [params] => Array ( [$data] => yii\apidoc\models\ParamDoc Object ( [name] => $data [typeHint] => [isOptional] => [defaultValue] => [isPassedByReference] => [description] => [type] => array [types] => Array ( [0] => array ) [sourceFile] => vendor/socialveo/socialveo/socialveo/core/forms/SocialveoForm.php ) ) [exceptions] => Array ( ) [return] => [returnType] => array [returnTypes] => Array ( [0] => array ) [isReturnByReference] => [phpDocContext] => phpDocumentor\Reflection\DocBlock\Context Object ( [namespace:protected] => Socialveo\Core\forms [namespace_aliases:protected] => Array ( [Config] => \Phalcon\Config [Di] => \Phalcon\Di [Hidden] => \Phalcon\Forms\Element\Hidden [Select] => \Phalcon\Forms\Element\Select [Form] => \Phalcon\Forms\Form [Text] => \Phalcon\Text [SocialveoModel] => \Socialveo\Core\models\SocialveoModel [Translatable] => \Socialveo\Core\Translatable [FrontendController] => \Socialveo\Frontend\controllers\FrontendController ) [lsen:protected] => ) [name] => getData [sourceFile] => vendor/socialveo/socialveo/socialveo/core/forms/SocialveoForm.php [startLine] => 130 [endLine] => 136 [shortDescription] => Add default data [description] => [since] => [deprecatedSince] => [deprecatedReason] => [tags] => Array ( ) ) [renderElement] => yii\apidoc\models\MethodDoc Object ( [isAbstract] => [isFinal] => [isStatic] => [visibility] => public [definedBy] => Socialveo\Core\forms\SocialveoForm [params] => Array ( [$name] => yii\apidoc\models\ParamDoc Object ( [name] => $name [typeHint] => [isOptional] => [defaultValue] => [isPassedByReference] => [description] => [type] => string [types] => Array ( [0] => string ) [sourceFile] => vendor/socialveo/socialveo/socialveo/core/forms/SocialveoForm.php ) [$data] => yii\apidoc\models\ParamDoc Object ( [name] => $data [typeHint] => [isOptional] => 1 [defaultValue] => [] [isPassedByReference] => [description] => [optional] [type] => array [types] => Array ( [0] => array ) [sourceFile] => vendor/socialveo/socialveo/socialveo/core/forms/SocialveoForm.php ) ) [exceptions] => Array ( [\Exception] => ) [return] => [returnType] => string [returnTypes] => Array ( [0] => string ) [isReturnByReference] => [phpDocContext] => phpDocumentor\Reflection\DocBlock\Context Object ( [namespace:protected] => Socialveo\Core\forms [namespace_aliases:protected] => Array ( [Config] => \Phalcon\Config [Di] => \Phalcon\Di [Hidden] => \Phalcon\Forms\Element\Hidden [Select] => \Phalcon\Forms\Element\Select [Form] => \Phalcon\Forms\Form [Text] => \Phalcon\Text [SocialveoModel] => \Socialveo\Core\models\SocialveoModel [Translatable] => \Socialveo\Core\Translatable [FrontendController] => \Socialveo\Frontend\controllers\FrontendController ) [lsen:protected] => ) [name] => renderElement [sourceFile] => vendor/socialveo/socialveo/socialveo/core/forms/SocialveoForm.php [startLine] => 146 [endLine] => 177 [shortDescription] => Render form element [description] => [since] => [deprecatedSince] => [deprecatedReason] => [tags] => Array ( ) ) ) [properties] => Array ( ) [namespace] => Socialveo\Core\forms [phpDocContext] => phpDocumentor\Reflection\DocBlock\Context Object ( [namespace:protected] => Socialveo\Core\forms [namespace_aliases:protected] => Array ( [Config] => \Phalcon\Config [Di] => \Phalcon\Di [Hidden] => \Phalcon\Forms\Element\Hidden [Select] => \Phalcon\Forms\Element\Select [Form] => \Phalcon\Forms\Form [Text] => \Phalcon\Text [SocialveoModel] => \Socialveo\Core\models\SocialveoModel [Translatable] => \Socialveo\Core\Translatable [FrontendController] => \Socialveo\Frontend\controllers\FrontendController ) [lsen:protected] => ) [name] => Socialveo\Core\forms\SocialveoForm [sourceFile] => vendor/socialveo/socialveo/socialveo/core/forms/SocialveoForm.php [startLine] => 30 [endLine] => 178 [shortDescription] => Class SocialveoForm [description] => [since] => [deprecatedSince] => [deprecatedReason] => [tags] => Array ( [0] => phpDocumentor\Reflection\DocBlock\Tag Object ( [tag:protected] => package [content:protected] => Socialveo\Core\forms [description:protected] => Socialveo\Core\forms [parsedDescription:protected] => [location:protected] => [docblock:protected] => phpDocumentor\Reflection\DocBlock Object ( [short_description:protected] => Class SocialveoForm [long_description:protected] => phpDocumentor\Reflection\DocBlock\Description Object ( [contents:protected] => [parsedContents:protected] => [docblock:protected] => phpDocumentor\Reflection\DocBlock Object *RECURSION* ) [tags:protected] => Array *RECURSION* [context:protected] => phpDocumentor\Reflection\DocBlock\Context Object ( [namespace:protected] => Socialveo\Core\forms [namespace_aliases:protected] => Array ( [Config] => \Phalcon\Config [Di] => \Phalcon\Di [Hidden] => \Phalcon\Forms\Element\Hidden [Select] => \Phalcon\Forms\Element\Select [Form] => \Phalcon\Forms\Form [Text] => \Phalcon\Text [SocialveoModel] => \Socialveo\Core\models\SocialveoModel [Translatable] => \Socialveo\Core\Translatable [FrontendController] => \Socialveo\Frontend\controllers\FrontendController ) [lsen:protected] => ) [location:protected] => phpDocumentor\Reflection\DocBlock\Location Object ( [lineNumber:protected] => 25 [columnNumber:protected] => 0 ) [isTemplateStart:protected] => [isTemplateEnd:protected] => ) ) [1] => phpDocumentor\Reflection\DocBlock\Tag\PropertyTag Object ( [variableName:protected] => $customFields [isVariadic:protected] => [type:protected] => CustomFieldsForm [types:protected] => [tag:protected] => property [content:protected] => CustomFieldsForm $customFields [description:protected] => [parsedDescription:protected] => [location:protected] => [docblock:protected] => phpDocumentor\Reflection\DocBlock Object ( [short_description:protected] => Class SocialveoForm [long_description:protected] => phpDocumentor\Reflection\DocBlock\Description Object ( [contents:protected] => [parsedContents:protected] => [docblock:protected] => phpDocumentor\Reflection\DocBlock Object *RECURSION* ) [tags:protected] => Array *RECURSION* [context:protected] => phpDocumentor\Reflection\DocBlock\Context Object ( [namespace:protected] => Socialveo\Core\forms [namespace_aliases:protected] => Array ( [Config] => \Phalcon\Config [Di] => \Phalcon\Di [Hidden] => \Phalcon\Forms\Element\Hidden [Select] => \Phalcon\Forms\Element\Select [Form] => \Phalcon\Forms\Form [Text] => \Phalcon\Text [SocialveoModel] => \Socialveo\Core\models\SocialveoModel [Translatable] => \Socialveo\Core\Translatable [FrontendController] => \Socialveo\Frontend\controllers\FrontendController ) [lsen:protected] => ) [location:protected] => phpDocumentor\Reflection\DocBlock\Location Object ( [lineNumber:protected] => 25 [columnNumber:protected] => 0 ) [isTemplateStart:protected] => [isTemplateEnd:protected] => ) ) ) ) public static string|Phalcon\Forms\Form|Socialveo\Core\forms\SocialveoForm getForm ( $name )
$name string
getFormInstance() public static method

Get form instance

yii\apidoc\models\ClassDoc Object ( [parentClass] => Phalcon\Forms\Form [isAbstract] => 1 [isFinal] => [interfaces] => Array ( ) [traits] => Array ( [0] => Socialveo\Core\Translatable ) [subclasses] => Array ( [0] => Socialveo\Frontend\forms\Payment [1] => Socialveo\Frontend\forms\Network ) [events] => Array ( ) [constants] => Array ( ) [authors] => Array ( ) [methods] => Array ( [t] => yii\apidoc\models\MethodDoc Object ( [isAbstract] => [isFinal] => [isStatic] => [visibility] => public [definedBy] => Socialveo\Core\Translatable [params] => Array ( [$message] => yii\apidoc\models\ParamDoc Object ( [name] => $message [typeHint] => [isOptional] => 1 [defaultValue] => null [isPassedByReference] => [description] => [optional] [type] => string|array|null [types] => Array ( [0] => string [1] => array [2] => null ) [sourceFile] => vendor/socialveo/socialveo/socialveo/core/Translatable.php ) [$domain] => yii\apidoc\models\ParamDoc Object ( [name] => $domain [typeHint] => [isOptional] => 1 [defaultValue] => null [isPassedByReference] => [description] => [optional] [type] => string [types] => Array ( [0] => string ) [sourceFile] => vendor/socialveo/socialveo/socialveo/core/Translatable.php ) [$placeholders] => yii\apidoc\models\ParamDoc Object ( [name] => $placeholders [typeHint] => [isOptional] => 1 [defaultValue] => [] [isPassedByReference] => [description] => [optional] [type] => array [types] => Array ( [0] => array ) [sourceFile] => vendor/socialveo/socialveo/socialveo/core/Translatable.php ) ) [exceptions] => Array ( [\Exception] => ) [return] => [returnType] => \Socialveo\Core\library\Gettext|string [returnTypes] => Array ( [0] => \Socialveo\Core\library\Gettext [1] => string ) [isReturnByReference] => [phpDocContext] => phpDocumentor\Reflection\DocBlock\Context Object ( [namespace:protected] => Socialveo\Core [namespace_aliases:protected] => Array ( [Di] => \Phalcon\Di [Gettext] => \Socialveo\Core\library\Gettext ) [lsen:protected] => ) [name] => t [sourceFile] => vendor/socialveo/socialveo/socialveo/core/Translatable.php [startLine] => 35 [endLine] => 75 [shortDescription] => Gets translations [description] => [since] => [deprecatedSince] => [deprecatedReason] => [tags] => Array ( ) ) [_t] => yii\apidoc\models\MethodDoc Object ( [isAbstract] => [isFinal] => [isStatic] => 1 [visibility] => public [definedBy] => Socialveo\Core\Translatable [params] => Array ( [$message] => yii\apidoc\models\ParamDoc Object ( [name] => $message [typeHint] => [isOptional] => 1 [defaultValue] => null [isPassedByReference] => [description] => [optional] [type] => string|array|null [types] => Array ( [0] => string [1] => array [2] => null ) [sourceFile] => vendor/socialveo/socialveo/socialveo/core/Translatable.php ) [$domain] => yii\apidoc\models\ParamDoc Object ( [name] => $domain [typeHint] => [isOptional] => 1 [defaultValue] => null [isPassedByReference] => [description] => [optional] [type] => string [types] => Array ( [0] => string ) [sourceFile] => vendor/socialveo/socialveo/socialveo/core/Translatable.php ) [$placeholders] => yii\apidoc\models\ParamDoc Object ( [name] => $placeholders [typeHint] => [isOptional] => 1 [defaultValue] => [] [isPassedByReference] => [description] => [optional] [type] => array [types] => Array ( [0] => array ) [sourceFile] => vendor/socialveo/socialveo/socialveo/core/Translatable.php ) ) [exceptions] => Array ( [\Exception] => ) [return] => [returnType] => \Socialveo\Core\library\Gettext|string [returnTypes] => Array ( [0] => \Socialveo\Core\library\Gettext [1] => string ) [isReturnByReference] => [phpDocContext] => phpDocumentor\Reflection\DocBlock\Context Object ( [namespace:protected] => Socialveo\Core [namespace_aliases:protected] => Array ( [Di] => \Phalcon\Di [Gettext] => \Socialveo\Core\library\Gettext ) [lsen:protected] => ) [name] => _t [sourceFile] => vendor/socialveo/socialveo/socialveo/core/Translatable.php [startLine] => 85 [endLine] => 126 [shortDescription] => Gets translations [description] => [since] => [deprecatedSince] => [deprecatedReason] => [tags] => Array ( ) ) [getForm] => yii\apidoc\models\MethodDoc Object ( [isAbstract] => [isFinal] => [isStatic] => 1 [visibility] => public [definedBy] => Socialveo\Core\forms\SocialveoForm [params] => Array ( [$name] => yii\apidoc\models\ParamDoc Object ( [name] => $name [typeHint] => [isOptional] => [defaultValue] => [isPassedByReference] => [description] => [type] => string [types] => Array ( [0] => string ) [sourceFile] => vendor/socialveo/socialveo/socialveo/core/forms/SocialveoForm.php ) ) [exceptions] => Array ( ) [return] => [returnType] => string|\Phalcon\Forms\Form|static [returnTypes] => Array ( [0] => string [1] => \Phalcon\Forms\Form [2] => static ) [isReturnByReference] => [phpDocContext] => phpDocumentor\Reflection\DocBlock\Context Object ( [namespace:protected] => Socialveo\Core\forms [namespace_aliases:protected] => Array ( [Config] => \Phalcon\Config [Di] => \Phalcon\Di [Hidden] => \Phalcon\Forms\Element\Hidden [Select] => \Phalcon\Forms\Element\Select [Form] => \Phalcon\Forms\Form [Text] => \Phalcon\Text [SocialveoModel] => \Socialveo\Core\models\SocialveoModel [Translatable] => \Socialveo\Core\Translatable [FrontendController] => \Socialveo\Frontend\controllers\FrontendController ) [lsen:protected] => ) [name] => getForm [sourceFile] => vendor/socialveo/socialveo/socialveo/core/forms/SocialveoForm.php [startLine] => 39 [endLine] => 75 [shortDescription] => Get form [description] => [since] => [deprecatedSince] => [deprecatedReason] => [tags] => Array ( ) ) [getFormInstance] => yii\apidoc\models\MethodDoc Object ( [isAbstract] => [isFinal] => [isStatic] => 1 [visibility] => public [definedBy] => Socialveo\Core\forms\SocialveoForm [params] => Array ( [$name] => yii\apidoc\models\ParamDoc Object ( [name] => $name [typeHint] => [isOptional] => [defaultValue] => [isPassedByReference] => [description] => Form name [type] => string [types] => Array ( [0] => string ) [sourceFile] => vendor/socialveo/socialveo/socialveo/core/forms/SocialveoForm.php ) [$args] => yii\apidoc\models\ParamDoc Object ( [name] => $args [typeHint] => [isOptional] => 1 [defaultValue] => null [isPassedByReference] => [description] => [optional] Form arguments [type] => array [types] => Array ( [0] => array ) [sourceFile] => vendor/socialveo/socialveo/socialveo/core/forms/SocialveoForm.php ) ) [exceptions] => Array ( ) [return] => [returnType] => \Phalcon\Forms\Form|\Socialveo\Core\forms\SocialveoForm|static [returnTypes] => Array ( [0] => \Phalcon\Forms\Form [1] => \Socialveo\Core\forms\SocialveoForm [2] => static ) [isReturnByReference] => [phpDocContext] => phpDocumentor\Reflection\DocBlock\Context Object ( [namespace:protected] => Socialveo\Core\forms [namespace_aliases:protected] => Array ( [Config] => \Phalcon\Config [Di] => \Phalcon\Di [Hidden] => \Phalcon\Forms\Element\Hidden [Select] => \Phalcon\Forms\Element\Select [Form] => \Phalcon\Forms\Form [Text] => \Phalcon\Text [SocialveoModel] => \Socialveo\Core\models\SocialveoModel [Translatable] => \Socialveo\Core\Translatable [FrontendController] => \Socialveo\Frontend\controllers\FrontendController ) [lsen:protected] => ) [name] => getFormInstance [sourceFile] => vendor/socialveo/socialveo/socialveo/core/forms/SocialveoForm.php [startLine] => 83 [endLine] => 102 [shortDescription] => Get form instance [description] => [since] => [deprecatedSince] => [deprecatedReason] => [tags] => Array ( ) ) [renderView] => yii\apidoc\models\MethodDoc Object ( [isAbstract] => [isFinal] => [isStatic] => [visibility] => protected [definedBy] => Socialveo\Core\forms\SocialveoForm [params] => Array ( [$view] => yii\apidoc\models\ParamDoc Object ( [name] => $view [typeHint] => [isOptional] => [defaultValue] => [isPassedByReference] => [description] => View location [type] => string [types] => Array ( [0] => string ) [sourceFile] => vendor/socialveo/socialveo/socialveo/core/forms/SocialveoForm.php ) [$params] => yii\apidoc\models\ParamDoc Object ( [name] => $params [typeHint] => [isOptional] => 1 [defaultValue] => null [isPassedByReference] => [description] => [optional] View params [type] => array [types] => Array ( [0] => array ) [sourceFile] => vendor/socialveo/socialveo/socialveo/core/forms/SocialveoForm.php ) ) [exceptions] => Array ( ) [return] => Html content [returnType] => string [returnTypes] => Array ( [0] => string ) [isReturnByReference] => [phpDocContext] => phpDocumentor\Reflection\DocBlock\Context Object ( [namespace:protected] => Socialveo\Core\forms [namespace_aliases:protected] => Array ( [Config] => \Phalcon\Config [Di] => \Phalcon\Di [Hidden] => \Phalcon\Forms\Element\Hidden [Select] => \Phalcon\Forms\Element\Select [Form] => \Phalcon\Forms\Form [Text] => \Phalcon\Text [SocialveoModel] => \Socialveo\Core\models\SocialveoModel [Translatable] => \Socialveo\Core\Translatable [FrontendController] => \Socialveo\Frontend\controllers\FrontendController ) [lsen:protected] => ) [name] => renderView [sourceFile] => vendor/socialveo/socialveo/socialveo/core/forms/SocialveoForm.php [startLine] => 111 [endLine] => 123 [shortDescription] => Renders partial view without layout [description] => [since] => [deprecatedSince] => [deprecatedReason] => [tags] => Array ( ) ) [getData] => yii\apidoc\models\MethodDoc Object ( [isAbstract] => [isFinal] => [isStatic] => [visibility] => public [definedBy] => Socialveo\Core\forms\SocialveoForm [params] => Array ( [$data] => yii\apidoc\models\ParamDoc Object ( [name] => $data [typeHint] => [isOptional] => [defaultValue] => [isPassedByReference] => [description] => [type] => array [types] => Array ( [0] => array ) [sourceFile] => vendor/socialveo/socialveo/socialveo/core/forms/SocialveoForm.php ) ) [exceptions] => Array ( ) [return] => [returnType] => array [returnTypes] => Array ( [0] => array ) [isReturnByReference] => [phpDocContext] => phpDocumentor\Reflection\DocBlock\Context Object ( [namespace:protected] => Socialveo\Core\forms [namespace_aliases:protected] => Array ( [Config] => \Phalcon\Config [Di] => \Phalcon\Di [Hidden] => \Phalcon\Forms\Element\Hidden [Select] => \Phalcon\Forms\Element\Select [Form] => \Phalcon\Forms\Form [Text] => \Phalcon\Text [SocialveoModel] => \Socialveo\Core\models\SocialveoModel [Translatable] => \Socialveo\Core\Translatable [FrontendController] => \Socialveo\Frontend\controllers\FrontendController ) [lsen:protected] => ) [name] => getData [sourceFile] => vendor/socialveo/socialveo/socialveo/core/forms/SocialveoForm.php [startLine] => 130 [endLine] => 136 [shortDescription] => Add default data [description] => [since] => [deprecatedSince] => [deprecatedReason] => [tags] => Array ( ) ) [renderElement] => yii\apidoc\models\MethodDoc Object ( [isAbstract] => [isFinal] => [isStatic] => [visibility] => public [definedBy] => Socialveo\Core\forms\SocialveoForm [params] => Array ( [$name] => yii\apidoc\models\ParamDoc Object ( [name] => $name [typeHint] => [isOptional] => [defaultValue] => [isPassedByReference] => [description] => [type] => string [types] => Array ( [0] => string ) [sourceFile] => vendor/socialveo/socialveo/socialveo/core/forms/SocialveoForm.php ) [$data] => yii\apidoc\models\ParamDoc Object ( [name] => $data [typeHint] => [isOptional] => 1 [defaultValue] => [] [isPassedByReference] => [description] => [optional] [type] => array [types] => Array ( [0] => array ) [sourceFile] => vendor/socialveo/socialveo/socialveo/core/forms/SocialveoForm.php ) ) [exceptions] => Array ( [\Exception] => ) [return] => [returnType] => string [returnTypes] => Array ( [0] => string ) [isReturnByReference] => [phpDocContext] => phpDocumentor\Reflection\DocBlock\Context Object ( [namespace:protected] => Socialveo\Core\forms [namespace_aliases:protected] => Array ( [Config] => \Phalcon\Config [Di] => \Phalcon\Di [Hidden] => \Phalcon\Forms\Element\Hidden [Select] => \Phalcon\Forms\Element\Select [Form] => \Phalcon\Forms\Form [Text] => \Phalcon\Text [SocialveoModel] => \Socialveo\Core\models\SocialveoModel [Translatable] => \Socialveo\Core\Translatable [FrontendController] => \Socialveo\Frontend\controllers\FrontendController ) [lsen:protected] => ) [name] => renderElement [sourceFile] => vendor/socialveo/socialveo/socialveo/core/forms/SocialveoForm.php [startLine] => 146 [endLine] => 177 [shortDescription] => Render form element [description] => [since] => [deprecatedSince] => [deprecatedReason] => [tags] => Array ( ) ) ) [properties] => Array ( ) [namespace] => Socialveo\Core\forms [phpDocContext] => phpDocumentor\Reflection\DocBlock\Context Object ( [namespace:protected] => Socialveo\Core\forms [namespace_aliases:protected] => Array ( [Config] => \Phalcon\Config [Di] => \Phalcon\Di [Hidden] => \Phalcon\Forms\Element\Hidden [Select] => \Phalcon\Forms\Element\Select [Form] => \Phalcon\Forms\Form [Text] => \Phalcon\Text [SocialveoModel] => \Socialveo\Core\models\SocialveoModel [Translatable] => \Socialveo\Core\Translatable [FrontendController] => \Socialveo\Frontend\controllers\FrontendController ) [lsen:protected] => ) [name] => Socialveo\Core\forms\SocialveoForm [sourceFile] => vendor/socialveo/socialveo/socialveo/core/forms/SocialveoForm.php [startLine] => 30 [endLine] => 178 [shortDescription] => Class SocialveoForm [description] => [since] => [deprecatedSince] => [deprecatedReason] => [tags] => Array ( [0] => phpDocumentor\Reflection\DocBlock\Tag Object ( [tag:protected] => package [content:protected] => Socialveo\Core\forms [description:protected] => Socialveo\Core\forms [parsedDescription:protected] => [location:protected] => [docblock:protected] => phpDocumentor\Reflection\DocBlock Object ( [short_description:protected] => Class SocialveoForm [long_description:protected] => phpDocumentor\Reflection\DocBlock\Description Object ( [contents:protected] => [parsedContents:protected] => [docblock:protected] => phpDocumentor\Reflection\DocBlock Object *RECURSION* ) [tags:protected] => Array *RECURSION* [context:protected] => phpDocumentor\Reflection\DocBlock\Context Object ( [namespace:protected] => Socialveo\Core\forms [namespace_aliases:protected] => Array ( [Config] => \Phalcon\Config [Di] => \Phalcon\Di [Hidden] => \Phalcon\Forms\Element\Hidden [Select] => \Phalcon\Forms\Element\Select [Form] => \Phalcon\Forms\Form [Text] => \Phalcon\Text [SocialveoModel] => \Socialveo\Core\models\SocialveoModel [Translatable] => \Socialveo\Core\Translatable [FrontendController] => \Socialveo\Frontend\controllers\FrontendController ) [lsen:protected] => ) [location:protected] => phpDocumentor\Reflection\DocBlock\Location Object ( [lineNumber:protected] => 25 [columnNumber:protected] => 0 ) [isTemplateStart:protected] => [isTemplateEnd:protected] => ) ) [1] => phpDocumentor\Reflection\DocBlock\Tag\PropertyTag Object ( [variableName:protected] => $customFields [isVariadic:protected] => [type:protected] => CustomFieldsForm [types:protected] => [tag:protected] => property [content:protected] => CustomFieldsForm $customFields [description:protected] => [parsedDescription:protected] => [location:protected] => [docblock:protected] => phpDocumentor\Reflection\DocBlock Object ( [short_description:protected] => Class SocialveoForm [long_description:protected] => phpDocumentor\Reflection\DocBlock\Description Object ( [contents:protected] => [parsedContents:protected] => [docblock:protected] => phpDocumentor\Reflection\DocBlock Object *RECURSION* ) [tags:protected] => Array *RECURSION* [context:protected] => phpDocumentor\Reflection\DocBlock\Context Object ( [namespace:protected] => Socialveo\Core\forms [namespace_aliases:protected] => Array ( [Config] => \Phalcon\Config [Di] => \Phalcon\Di [Hidden] => \Phalcon\Forms\Element\Hidden [Select] => \Phalcon\Forms\Element\Select [Form] => \Phalcon\Forms\Form [Text] => \Phalcon\Text [SocialveoModel] => \Socialveo\Core\models\SocialveoModel [Translatable] => \Socialveo\Core\Translatable [FrontendController] => \Socialveo\Frontend\controllers\FrontendController ) [lsen:protected] => ) [location:protected] => phpDocumentor\Reflection\DocBlock\Location Object ( [lineNumber:protected] => 25 [columnNumber:protected] => 0 ) [isTemplateStart:protected] => [isTemplateEnd:protected] => ) ) ) ) public static Phalcon\Forms\Form|Socialveo\Core\forms\SocialveoForm|Socialveo\Core\forms\SocialveoForm getFormInstance ( $name, $args null )
$name string

Form name

$args array

[optional] Form arguments

renderElement() public method

Render form element

public string renderElement ( $name, $data = [] )
$name string
$data array

[optional]

throws Exception
renderView() protected method

Renders partial view without layout

protected string renderView ( $view, $params null )
$view string

View location

$params array

[optional] View params

return string

Html content