Abstract Class Socialveo\Frontend\widgets\WidgetBase

InheritanceSocialveo\Frontend\widgets\WidgetBase » Phalcon\Ext\Widgets\WidgetBase
SubclassesSocialveo\Frontend\widgets\NotificationsWidget, Socialveo\Frontend\widgets\completeProfile\CompleteProfile, Socialveo\Frontend\widgets\conversations\Conversations, Socialveo\Frontend\widgets\maybeFriend\MaybeFriend, Socialveo\Frontend\widgets\maybeNetwork\MaybeNetwork, Socialveo\Frontend\widgets\notificationsConnection\NotificationsConnection, Socialveo\Frontend\widgets\notificationsGeneric\NotificationsGeneric, Socialveo\Frontend\widgets\notificationsMessages\NotificationsMessages, Socialveo\Frontend\widgets\paginator\Paginator, Socialveo\Frontend\widgets\posts\Posts, Socialveo\Frontend\widgets\search\Search, Socialveo\Frontend\widgets\staticPagesMenu\StaticPagesMenu, Socialveo\Frontend\widgets\usersOnline\UsersOnline

Class WidgetBase

Property Details

$_view protected property

Method Details

asArray() public method

Returns widget data as array

public array asArray ( $params null )
$params null
createWidget() public static method

Create widget

yii\apidoc\models\ClassDoc Object ( [parentClass] => Phalcon\Ext\Widgets\WidgetBase [isAbstract] => 1 [isFinal] => [interfaces] => Array ( ) [traits] => Array ( ) [subclasses] => Array ( [0] => Socialveo\Frontend\widgets\notificationsMessages\NotificationsMessages [1] => Socialveo\Frontend\widgets\conversations\Conversations [2] => Socialveo\Frontend\widgets\maybeNetwork\MaybeNetwork [3] => Socialveo\Frontend\widgets\notificationsGeneric\NotificationsGeneric [4] => Socialveo\Frontend\widgets\staticPagesMenu\StaticPagesMenu [5] => Socialveo\Frontend\widgets\completeProfile\CompleteProfile [6] => Socialveo\Frontend\widgets\search\Search [7] => Socialveo\Frontend\widgets\NotificationsWidget [8] => Socialveo\Frontend\widgets\maybeFriend\MaybeFriend [9] => Socialveo\Frontend\widgets\notificationsConnection\NotificationsConnection [10] => Socialveo\Frontend\widgets\posts\Posts [11] => Socialveo\Frontend\widgets\usersOnline\UsersOnline [12] => Socialveo\Frontend\widgets\paginator\Paginator ) [events] => Array ( ) [constants] => Array ( ) [authors] => Array ( ) [methods] => Array ( [init] => yii\apidoc\models\MethodDoc Object ( [isAbstract] => [isFinal] => [isStatic] => [visibility] => public [definedBy] => Socialveo\Frontend\widgets\WidgetBase [params] => Array ( ) [exceptions] => Array ( ) [return] => [returnType] => [returnTypes] => [isReturnByReference] => [phpDocContext] => [name] => init [sourceFile] => vendor/socialveo/socialveo/socialveo/frontend/widgets/WidgetBase.php [startLine] => 42 [endLine] => 42 [shortDescription] => [description] => [since] => [deprecatedSince] => [deprecatedReason] => [tags] => Array ( ) ) [onConstruct] => yii\apidoc\models\MethodDoc Object ( [isAbstract] => [isFinal] => [isStatic] => [visibility] => public [definedBy] => Socialveo\Frontend\widgets\WidgetBase [params] => Array ( ) [exceptions] => Array ( ) [return] => [returnType] => [returnTypes] => [isReturnByReference] => [phpDocContext] => [name] => onConstruct [sourceFile] => vendor/socialveo/socialveo/socialveo/frontend/widgets/WidgetBase.php [startLine] => 44 [endLine] => 47 [shortDescription] => [description] => [since] => [deprecatedSince] => [deprecatedReason] => [tags] => Array ( ) ) [getView] => yii\apidoc\models\MethodDoc Object ( [isAbstract] => [isFinal] => [isStatic] => [visibility] => public [definedBy] => Socialveo\Frontend\widgets\WidgetBase [params] => Array ( ) [exceptions] => Array ( ) [return] => [returnType] => \Socialveo\Core\library\view\View|\Phalcon\Mvc\ViewInterface [returnTypes] => Array ( [0] => \Socialveo\Core\library\view\View [1] => \Phalcon\Mvc\ViewInterface ) [isReturnByReference] => [phpDocContext] => phpDocumentor\Reflection\DocBlock\Context Object ( [namespace:protected] => Socialveo\Frontend\widgets [namespace_aliases:protected] => Array ( [Config] => \Phalcon\Config [Di] => \Phalcon\Di [PhalconWidgetBase] => \Phalcon\Ext\Widgets\WidgetBase [Text] => \Phalcon\Text [Gettext] => \Phalcon\Translate\Adapter\Gettext [View] => \Socialveo\Core\library\view\View [SocialveoModel] => \Socialveo\Core\models\SocialveoModel ) [lsen:protected] => ) [name] => getView [sourceFile] => vendor/socialveo/socialveo/socialveo/frontend/widgets/WidgetBase.php [startLine] => 52 [endLine] => 59 [shortDescription] => [description] => [since] => [deprecatedSince] => [deprecatedReason] => [tags] => Array ( ) ) [initView] => yii\apidoc\models\MethodDoc Object ( [isAbstract] => [isFinal] => [isStatic] => [visibility] => public [definedBy] => Socialveo\Frontend\widgets\WidgetBase [params] => Array ( ) [exceptions] => Array ( ) [return] => [returnType] => [returnTypes] => [isReturnByReference] => [phpDocContext] => phpDocumentor\Reflection\DocBlock\Context Object ( [namespace:protected] => Socialveo\Frontend\widgets [namespace_aliases:protected] => Array ( [Config] => \Phalcon\Config [Di] => \Phalcon\Di [PhalconWidgetBase] => \Phalcon\Ext\Widgets\WidgetBase [Text] => \Phalcon\Text [Gettext] => \Phalcon\Translate\Adapter\Gettext [View] => \Socialveo\Core\library\view\View [SocialveoModel] => \Socialveo\Core\models\SocialveoModel ) [lsen:protected] => ) [name] => initView [sourceFile] => vendor/socialveo/socialveo/socialveo/frontend/widgets/WidgetBase.php [startLine] => 64 [endLine] => 99 [shortDescription] => Init view [description] => [since] => [deprecatedSince] => [deprecatedReason] => [tags] => Array ( ) ) [setViewVar] => yii\apidoc\models\MethodDoc Object ( [isAbstract] => [isFinal] => [isStatic] => [visibility] => public [definedBy] => Socialveo\Frontend\widgets\WidgetBase [params] => Array ( [$var] => yii\apidoc\models\ParamDoc Object ( [name] => $var [typeHint] => [isOptional] => [defaultValue] => [isPassedByReference] => [description] => [type] => string [types] => Array ( [0] => string ) [sourceFile] => vendor/socialveo/socialveo/socialveo/frontend/widgets/WidgetBase.php ) [$value] => yii\apidoc\models\ParamDoc Object ( [name] => $value [typeHint] => [isOptional] => [defaultValue] => [isPassedByReference] => [description] => [type] => mixed [types] => Array ( [0] => mixed ) [sourceFile] => vendor/socialveo/socialveo/socialveo/frontend/widgets/WidgetBase.php ) ) [exceptions] => Array ( ) [return] => [returnType] => [returnTypes] => [isReturnByReference] => [phpDocContext] => phpDocumentor\Reflection\DocBlock\Context Object ( [namespace:protected] => Socialveo\Frontend\widgets [namespace_aliases:protected] => Array ( [Config] => \Phalcon\Config [Di] => \Phalcon\Di [PhalconWidgetBase] => \Phalcon\Ext\Widgets\WidgetBase [Text] => \Phalcon\Text [Gettext] => \Phalcon\Translate\Adapter\Gettext [View] => \Socialveo\Core\library\view\View [SocialveoModel] => \Socialveo\Core\models\SocialveoModel ) [lsen:protected] => ) [name] => setViewVar [sourceFile] => vendor/socialveo/socialveo/socialveo/frontend/widgets/WidgetBase.php [startLine] => 106 [endLine] => 109 [shortDescription] => Set view var [description] => [since] => [deprecatedSince] => [deprecatedReason] => [tags] => Array ( ) ) [renderView] => yii\apidoc\models\MethodDoc Object ( [isAbstract] => [isFinal] => [isStatic] => [visibility] => public [definedBy] => Socialveo\Frontend\widgets\WidgetBase [params] => Array ( [$view] => yii\apidoc\models\ParamDoc Object ( [name] => $view [typeHint] => [isOptional] => [defaultValue] => [isPassedByReference] => [description] => [type] => string [types] => Array ( [0] => string ) [sourceFile] => vendor/socialveo/socialveo/socialveo/frontend/widgets/WidgetBase.php ) [$params] => yii\apidoc\models\ParamDoc Object ( [name] => $params [typeHint] => [isOptional] => 1 [defaultValue] => null [isPassedByReference] => [description] => [type] => null|array [types] => Array ( [0] => null [1] => array ) [sourceFile] => vendor/socialveo/socialveo/socialveo/frontend/widgets/WidgetBase.php ) ) [exceptions] => Array ( ) [return] => [returnType] => string [returnTypes] => Array ( [0] => string ) [isReturnByReference] => [phpDocContext] => phpDocumentor\Reflection\DocBlock\Context Object ( [namespace:protected] => Socialveo\Frontend\widgets [namespace_aliases:protected] => Array ( [Config] => \Phalcon\Config [Di] => \Phalcon\Di [PhalconWidgetBase] => \Phalcon\Ext\Widgets\WidgetBase [Text] => \Phalcon\Text [Gettext] => \Phalcon\Translate\Adapter\Gettext [View] => \Socialveo\Core\library\view\View [SocialveoModel] => \Socialveo\Core\models\SocialveoModel ) [lsen:protected] => ) [name] => renderView [sourceFile] => vendor/socialveo/socialveo/socialveo/frontend/widgets/WidgetBase.php [startLine] => 117 [endLine] => 125 [shortDescription] => Render view [description] => [since] => [deprecatedSince] => [deprecatedReason] => [tags] => Array ( ) ) [asArray] => yii\apidoc\models\MethodDoc Object ( [isAbstract] => [isFinal] => [isStatic] => [visibility] => public [definedBy] => Socialveo\Frontend\widgets\WidgetBase [params] => Array ( [$params] => yii\apidoc\models\ParamDoc Object ( [name] => $params [typeHint] => [isOptional] => 1 [defaultValue] => null [isPassedByReference] => [description] => [type] => null [types] => Array ( [0] => null ) [sourceFile] => vendor/socialveo/socialveo/socialveo/frontend/widgets/WidgetBase.php ) ) [exceptions] => Array ( ) [return] => [returnType] => array [returnTypes] => Array ( [0] => array ) [isReturnByReference] => [phpDocContext] => phpDocumentor\Reflection\DocBlock\Context Object ( [namespace:protected] => Socialveo\Frontend\widgets [namespace_aliases:protected] => Array ( [Config] => \Phalcon\Config [Di] => \Phalcon\Di [PhalconWidgetBase] => \Phalcon\Ext\Widgets\WidgetBase [Text] => \Phalcon\Text [Gettext] => \Phalcon\Translate\Adapter\Gettext [View] => \Socialveo\Core\library\view\View [SocialveoModel] => \Socialveo\Core\models\SocialveoModel ) [lsen:protected] => ) [name] => asArray [sourceFile] => vendor/socialveo/socialveo/socialveo/frontend/widgets/WidgetBase.php [startLine] => 132 [endLine] => 135 [shortDescription] => Returns widget data as array [description] => [since] => [deprecatedSince] => [deprecatedReason] => [tags] => Array ( ) ) [getWidget] => yii\apidoc\models\MethodDoc Object ( [isAbstract] => [isFinal] => [isStatic] => 1 [visibility] => public [definedBy] => Socialveo\Frontend\widgets\WidgetBase [params] => Array ( [$name] => yii\apidoc\models\ParamDoc Object ( [name] => $name [typeHint] => [isOptional] => [defaultValue] => [isPassedByReference] => [description] => Widget name [type] => string [types] => Array ( [0] => string ) [sourceFile] => vendor/socialveo/socialveo/socialveo/frontend/widgets/WidgetBase.php ) ) [exceptions] => Array ( ) [return] => [returnType] => string|\Socialveo\Frontend\widgets\WidgetBase|static [returnTypes] => Array ( [0] => string [1] => \Socialveo\Frontend\widgets\WidgetBase [2] => static ) [isReturnByReference] => [phpDocContext] => phpDocumentor\Reflection\DocBlock\Context Object ( [namespace:protected] => Socialveo\Frontend\widgets [namespace_aliases:protected] => Array ( [Config] => \Phalcon\Config [Di] => \Phalcon\Di [PhalconWidgetBase] => \Phalcon\Ext\Widgets\WidgetBase [Text] => \Phalcon\Text [Gettext] => \Phalcon\Translate\Adapter\Gettext [View] => \Socialveo\Core\library\view\View [SocialveoModel] => \Socialveo\Core\models\SocialveoModel ) [lsen:protected] => ) [name] => getWidget [sourceFile] => vendor/socialveo/socialveo/socialveo/frontend/widgets/WidgetBase.php [startLine] => 142 [endLine] => 179 [shortDescription] => Get widget [description] => [since] => [deprecatedSince] => [deprecatedReason] => [tags] => Array ( ) ) [createWidget] => yii\apidoc\models\MethodDoc Object ( [isAbstract] => [isFinal] => [isStatic] => 1 [visibility] => public [definedBy] => Socialveo\Frontend\widgets\WidgetBase [params] => Array ( [$name] => yii\apidoc\models\ParamDoc Object ( [name] => $name [typeHint] => [isOptional] => [defaultValue] => [isPassedByReference] => [description] => Widget name [type] => string [types] => Array ( [0] => string ) [sourceFile] => vendor/socialveo/socialveo/socialveo/frontend/widgets/WidgetBase.php ) ) [exceptions] => Array ( ) [return] => [returnType] => string|\Socialveo\Frontend\widgets\WidgetBase|static [returnTypes] => Array ( [0] => string [1] => \Socialveo\Frontend\widgets\WidgetBase [2] => static ) [isReturnByReference] => [phpDocContext] => phpDocumentor\Reflection\DocBlock\Context Object ( [namespace:protected] => Socialveo\Frontend\widgets [namespace_aliases:protected] => Array ( [Config] => \Phalcon\Config [Di] => \Phalcon\Di [PhalconWidgetBase] => \Phalcon\Ext\Widgets\WidgetBase [Text] => \Phalcon\Text [Gettext] => \Phalcon\Translate\Adapter\Gettext [View] => \Socialveo\Core\library\view\View [SocialveoModel] => \Socialveo\Core\models\SocialveoModel ) [lsen:protected] => ) [name] => createWidget [sourceFile] => vendor/socialveo/socialveo/socialveo/frontend/widgets/WidgetBase.php [startLine] => 186 [endLine] => 190 [shortDescription] => Create widget [description] => [since] => [deprecatedSince] => [deprecatedReason] => [tags] => Array ( ) ) ) [properties] => Array ( [$_view] => yii\apidoc\models\PropertyDoc Object ( [visibility] => protected [isStatic] => [type] => \Socialveo\Core\library\view\View [types] => Array ( [0] => \Socialveo\Core\library\view\View ) [defaultValue] => [getter] => [setter] => [definedBy] => Socialveo\Frontend\widgets\WidgetBase [phpDocContext] => phpDocumentor\Reflection\DocBlock\Context Object ( [namespace:protected] => Socialveo\Frontend\widgets [namespace_aliases:protected] => Array ( [Config] => \Phalcon\Config [Di] => \Phalcon\Di [PhalconWidgetBase] => \Phalcon\Ext\Widgets\WidgetBase [Text] => \Phalcon\Text [Gettext] => \Phalcon\Translate\Adapter\Gettext [View] => \Socialveo\Core\library\view\View [SocialveoModel] => \Socialveo\Core\models\SocialveoModel ) [lsen:protected] => ) [name] => $_view [sourceFile] => vendor/socialveo/socialveo/socialveo/frontend/widgets/WidgetBase.php [startLine] => 34 [endLine] => 34 [shortDescription] => [description] => [since] => [deprecatedSince] => [deprecatedReason] => [tags] => Array ( [0] => phpDocumentor\Reflection\DocBlock\Tag\VarTag Object ( [variableName:protected] => [isVariadic:protected] => [type:protected] => View [types:protected] => phpDocumentor\Reflection\DocBlock\Type\Collection Object ( [context:protected] => phpDocumentor\Reflection\DocBlock\Context Object ( [namespace:protected] => Socialveo\Frontend\widgets [namespace_aliases:protected] => Array ( [Config] => \Phalcon\Config [Di] => \Phalcon\Di [PhalconWidgetBase] => \Phalcon\Ext\Widgets\WidgetBase [Text] => \Phalcon\Text [Gettext] => \Phalcon\Translate\Adapter\Gettext [View] => \Socialveo\Core\library\view\View [SocialveoModel] => \Socialveo\Core\models\SocialveoModel ) [lsen:protected] => ) [storage:ArrayObject:private] => Array ( [0] => \Socialveo\Core\library\view\View ) ) [tag:protected] => var [content:protected] => View [description:protected] => [parsedDescription:protected] => [location:protected] => [docblock:protected] => phpDocumentor\Reflection\DocBlock Object ( [short_description:protected] => View instance [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\Frontend\widgets [namespace_aliases:protected] => Array ( [Config] => \Phalcon\Config [Di] => \Phalcon\Di [PhalconWidgetBase] => \Phalcon\Ext\Widgets\WidgetBase [Text] => \Phalcon\Text [Gettext] => \Phalcon\Translate\Adapter\Gettext [View] => \Socialveo\Core\library\view\View [SocialveoModel] => \Socialveo\Core\models\SocialveoModel ) [lsen:protected] => ) [location:protected] => phpDocumentor\Reflection\DocBlock\Location Object ( [lineNumber:protected] => 30 [columnNumber:protected] => 0 ) [isTemplateStart:protected] => [isTemplateEnd:protected] => ) ) ) ) ) [namespace] => Socialveo\Frontend\widgets [phpDocContext] => phpDocumentor\Reflection\DocBlock\Context Object ( [namespace:protected] => Socialveo\Frontend\widgets [namespace_aliases:protected] => Array ( [Config] => \Phalcon\Config [Di] => \Phalcon\Di [PhalconWidgetBase] => \Phalcon\Ext\Widgets\WidgetBase [Text] => \Phalcon\Text [Gettext] => \Phalcon\Translate\Adapter\Gettext [View] => \Socialveo\Core\library\view\View [SocialveoModel] => \Socialveo\Core\models\SocialveoModel ) [lsen:protected] => ) [name] => Socialveo\Frontend\widgets\WidgetBase [sourceFile] => vendor/socialveo/socialveo/socialveo/frontend/widgets/WidgetBase.php [startLine] => 28 [endLine] => 191 [shortDescription] => Class WidgetBase [description] => [since] => [deprecatedSince] => [deprecatedReason] => [tags] => Array ( [0] => phpDocumentor\Reflection\DocBlock\Tag Object ( [tag:protected] => package [content:protected] => Socialveo\Frontend\widgets [description:protected] => Socialveo\Frontend\widgets [parsedDescription:protected] => [location:protected] => [docblock:protected] => phpDocumentor\Reflection\DocBlock Object ( [short_description:protected] => Class WidgetBase [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\Frontend\widgets [namespace_aliases:protected] => Array ( [Config] => \Phalcon\Config [Di] => \Phalcon\Di [PhalconWidgetBase] => \Phalcon\Ext\Widgets\WidgetBase [Text] => \Phalcon\Text [Gettext] => \Phalcon\Translate\Adapter\Gettext [View] => \Socialveo\Core\library\view\View [SocialveoModel] => \Socialveo\Core\models\SocialveoModel ) [lsen:protected] => ) [location:protected] => phpDocumentor\Reflection\DocBlock\Location Object ( [lineNumber:protected] => 23 [columnNumber:protected] => 0 ) [isTemplateStart:protected] => [isTemplateEnd:protected] => ) ) [1] => phpDocumentor\Reflection\DocBlock\Tag Object ( [tag:protected] => mixin [content:protected] => Di\Injectable [description:protected] => Di\Injectable [parsedDescription:protected] => [location:protected] => [docblock:protected] => phpDocumentor\Reflection\DocBlock Object ( [short_description:protected] => Class WidgetBase [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\Frontend\widgets [namespace_aliases:protected] => Array ( [Config] => \Phalcon\Config [Di] => \Phalcon\Di [PhalconWidgetBase] => \Phalcon\Ext\Widgets\WidgetBase [Text] => \Phalcon\Text [Gettext] => \Phalcon\Translate\Adapter\Gettext [View] => \Socialveo\Core\library\view\View [SocialveoModel] => \Socialveo\Core\models\SocialveoModel ) [lsen:protected] => ) [location:protected] => phpDocumentor\Reflection\DocBlock\Location Object ( [lineNumber:protected] => 23 [columnNumber:protected] => 0 ) [isTemplateStart:protected] => [isTemplateEnd:protected] => ) ) ) ) public static string|Socialveo\Frontend\widgets\WidgetBase|Socialveo\Frontend\widgets\WidgetBase createWidget ( $name )
$name string

Widget name

getView() public method

public Socialveo\Core\library\view\View|Phalcon\Mvc\ViewInterface getView ( )
getWidget() public static method

Get widget

yii\apidoc\models\ClassDoc Object ( [parentClass] => Phalcon\Ext\Widgets\WidgetBase [isAbstract] => 1 [isFinal] => [interfaces] => Array ( ) [traits] => Array ( ) [subclasses] => Array ( [0] => Socialveo\Frontend\widgets\notificationsMessages\NotificationsMessages [1] => Socialveo\Frontend\widgets\conversations\Conversations [2] => Socialveo\Frontend\widgets\maybeNetwork\MaybeNetwork [3] => Socialveo\Frontend\widgets\notificationsGeneric\NotificationsGeneric [4] => Socialveo\Frontend\widgets\staticPagesMenu\StaticPagesMenu [5] => Socialveo\Frontend\widgets\completeProfile\CompleteProfile [6] => Socialveo\Frontend\widgets\search\Search [7] => Socialveo\Frontend\widgets\NotificationsWidget [8] => Socialveo\Frontend\widgets\maybeFriend\MaybeFriend [9] => Socialveo\Frontend\widgets\notificationsConnection\NotificationsConnection [10] => Socialveo\Frontend\widgets\posts\Posts [11] => Socialveo\Frontend\widgets\usersOnline\UsersOnline [12] => Socialveo\Frontend\widgets\paginator\Paginator ) [events] => Array ( ) [constants] => Array ( ) [authors] => Array ( ) [methods] => Array ( [init] => yii\apidoc\models\MethodDoc Object ( [isAbstract] => [isFinal] => [isStatic] => [visibility] => public [definedBy] => Socialveo\Frontend\widgets\WidgetBase [params] => Array ( ) [exceptions] => Array ( ) [return] => [returnType] => [returnTypes] => [isReturnByReference] => [phpDocContext] => [name] => init [sourceFile] => vendor/socialveo/socialveo/socialveo/frontend/widgets/WidgetBase.php [startLine] => 42 [endLine] => 42 [shortDescription] => [description] => [since] => [deprecatedSince] => [deprecatedReason] => [tags] => Array ( ) ) [onConstruct] => yii\apidoc\models\MethodDoc Object ( [isAbstract] => [isFinal] => [isStatic] => [visibility] => public [definedBy] => Socialveo\Frontend\widgets\WidgetBase [params] => Array ( ) [exceptions] => Array ( ) [return] => [returnType] => [returnTypes] => [isReturnByReference] => [phpDocContext] => [name] => onConstruct [sourceFile] => vendor/socialveo/socialveo/socialveo/frontend/widgets/WidgetBase.php [startLine] => 44 [endLine] => 47 [shortDescription] => [description] => [since] => [deprecatedSince] => [deprecatedReason] => [tags] => Array ( ) ) [getView] => yii\apidoc\models\MethodDoc Object ( [isAbstract] => [isFinal] => [isStatic] => [visibility] => public [definedBy] => Socialveo\Frontend\widgets\WidgetBase [params] => Array ( ) [exceptions] => Array ( ) [return] => [returnType] => \Socialveo\Core\library\view\View|\Phalcon\Mvc\ViewInterface [returnTypes] => Array ( [0] => \Socialveo\Core\library\view\View [1] => \Phalcon\Mvc\ViewInterface ) [isReturnByReference] => [phpDocContext] => phpDocumentor\Reflection\DocBlock\Context Object ( [namespace:protected] => Socialveo\Frontend\widgets [namespace_aliases:protected] => Array ( [Config] => \Phalcon\Config [Di] => \Phalcon\Di [PhalconWidgetBase] => \Phalcon\Ext\Widgets\WidgetBase [Text] => \Phalcon\Text [Gettext] => \Phalcon\Translate\Adapter\Gettext [View] => \Socialveo\Core\library\view\View [SocialveoModel] => \Socialveo\Core\models\SocialveoModel ) [lsen:protected] => ) [name] => getView [sourceFile] => vendor/socialveo/socialveo/socialveo/frontend/widgets/WidgetBase.php [startLine] => 52 [endLine] => 59 [shortDescription] => [description] => [since] => [deprecatedSince] => [deprecatedReason] => [tags] => Array ( ) ) [initView] => yii\apidoc\models\MethodDoc Object ( [isAbstract] => [isFinal] => [isStatic] => [visibility] => public [definedBy] => Socialveo\Frontend\widgets\WidgetBase [params] => Array ( ) [exceptions] => Array ( ) [return] => [returnType] => [returnTypes] => [isReturnByReference] => [phpDocContext] => phpDocumentor\Reflection\DocBlock\Context Object ( [namespace:protected] => Socialveo\Frontend\widgets [namespace_aliases:protected] => Array ( [Config] => \Phalcon\Config [Di] => \Phalcon\Di [PhalconWidgetBase] => \Phalcon\Ext\Widgets\WidgetBase [Text] => \Phalcon\Text [Gettext] => \Phalcon\Translate\Adapter\Gettext [View] => \Socialveo\Core\library\view\View [SocialveoModel] => \Socialveo\Core\models\SocialveoModel ) [lsen:protected] => ) [name] => initView [sourceFile] => vendor/socialveo/socialveo/socialveo/frontend/widgets/WidgetBase.php [startLine] => 64 [endLine] => 99 [shortDescription] => Init view [description] => [since] => [deprecatedSince] => [deprecatedReason] => [tags] => Array ( ) ) [setViewVar] => yii\apidoc\models\MethodDoc Object ( [isAbstract] => [isFinal] => [isStatic] => [visibility] => public [definedBy] => Socialveo\Frontend\widgets\WidgetBase [params] => Array ( [$var] => yii\apidoc\models\ParamDoc Object ( [name] => $var [typeHint] => [isOptional] => [defaultValue] => [isPassedByReference] => [description] => [type] => string [types] => Array ( [0] => string ) [sourceFile] => vendor/socialveo/socialveo/socialveo/frontend/widgets/WidgetBase.php ) [$value] => yii\apidoc\models\ParamDoc Object ( [name] => $value [typeHint] => [isOptional] => [defaultValue] => [isPassedByReference] => [description] => [type] => mixed [types] => Array ( [0] => mixed ) [sourceFile] => vendor/socialveo/socialveo/socialveo/frontend/widgets/WidgetBase.php ) ) [exceptions] => Array ( ) [return] => [returnType] => [returnTypes] => [isReturnByReference] => [phpDocContext] => phpDocumentor\Reflection\DocBlock\Context Object ( [namespace:protected] => Socialveo\Frontend\widgets [namespace_aliases:protected] => Array ( [Config] => \Phalcon\Config [Di] => \Phalcon\Di [PhalconWidgetBase] => \Phalcon\Ext\Widgets\WidgetBase [Text] => \Phalcon\Text [Gettext] => \Phalcon\Translate\Adapter\Gettext [View] => \Socialveo\Core\library\view\View [SocialveoModel] => \Socialveo\Core\models\SocialveoModel ) [lsen:protected] => ) [name] => setViewVar [sourceFile] => vendor/socialveo/socialveo/socialveo/frontend/widgets/WidgetBase.php [startLine] => 106 [endLine] => 109 [shortDescription] => Set view var [description] => [since] => [deprecatedSince] => [deprecatedReason] => [tags] => Array ( ) ) [renderView] => yii\apidoc\models\MethodDoc Object ( [isAbstract] => [isFinal] => [isStatic] => [visibility] => public [definedBy] => Socialveo\Frontend\widgets\WidgetBase [params] => Array ( [$view] => yii\apidoc\models\ParamDoc Object ( [name] => $view [typeHint] => [isOptional] => [defaultValue] => [isPassedByReference] => [description] => [type] => string [types] => Array ( [0] => string ) [sourceFile] => vendor/socialveo/socialveo/socialveo/frontend/widgets/WidgetBase.php ) [$params] => yii\apidoc\models\ParamDoc Object ( [name] => $params [typeHint] => [isOptional] => 1 [defaultValue] => null [isPassedByReference] => [description] => [type] => null|array [types] => Array ( [0] => null [1] => array ) [sourceFile] => vendor/socialveo/socialveo/socialveo/frontend/widgets/WidgetBase.php ) ) [exceptions] => Array ( ) [return] => [returnType] => string [returnTypes] => Array ( [0] => string ) [isReturnByReference] => [phpDocContext] => phpDocumentor\Reflection\DocBlock\Context Object ( [namespace:protected] => Socialveo\Frontend\widgets [namespace_aliases:protected] => Array ( [Config] => \Phalcon\Config [Di] => \Phalcon\Di [PhalconWidgetBase] => \Phalcon\Ext\Widgets\WidgetBase [Text] => \Phalcon\Text [Gettext] => \Phalcon\Translate\Adapter\Gettext [View] => \Socialveo\Core\library\view\View [SocialveoModel] => \Socialveo\Core\models\SocialveoModel ) [lsen:protected] => ) [name] => renderView [sourceFile] => vendor/socialveo/socialveo/socialveo/frontend/widgets/WidgetBase.php [startLine] => 117 [endLine] => 125 [shortDescription] => Render view [description] => [since] => [deprecatedSince] => [deprecatedReason] => [tags] => Array ( ) ) [asArray] => yii\apidoc\models\MethodDoc Object ( [isAbstract] => [isFinal] => [isStatic] => [visibility] => public [definedBy] => Socialveo\Frontend\widgets\WidgetBase [params] => Array ( [$params] => yii\apidoc\models\ParamDoc Object ( [name] => $params [typeHint] => [isOptional] => 1 [defaultValue] => null [isPassedByReference] => [description] => [type] => null [types] => Array ( [0] => null ) [sourceFile] => vendor/socialveo/socialveo/socialveo/frontend/widgets/WidgetBase.php ) ) [exceptions] => Array ( ) [return] => [returnType] => array [returnTypes] => Array ( [0] => array ) [isReturnByReference] => [phpDocContext] => phpDocumentor\Reflection\DocBlock\Context Object ( [namespace:protected] => Socialveo\Frontend\widgets [namespace_aliases:protected] => Array ( [Config] => \Phalcon\Config [Di] => \Phalcon\Di [PhalconWidgetBase] => \Phalcon\Ext\Widgets\WidgetBase [Text] => \Phalcon\Text [Gettext] => \Phalcon\Translate\Adapter\Gettext [View] => \Socialveo\Core\library\view\View [SocialveoModel] => \Socialveo\Core\models\SocialveoModel ) [lsen:protected] => ) [name] => asArray [sourceFile] => vendor/socialveo/socialveo/socialveo/frontend/widgets/WidgetBase.php [startLine] => 132 [endLine] => 135 [shortDescription] => Returns widget data as array [description] => [since] => [deprecatedSince] => [deprecatedReason] => [tags] => Array ( ) ) [getWidget] => yii\apidoc\models\MethodDoc Object ( [isAbstract] => [isFinal] => [isStatic] => 1 [visibility] => public [definedBy] => Socialveo\Frontend\widgets\WidgetBase [params] => Array ( [$name] => yii\apidoc\models\ParamDoc Object ( [name] => $name [typeHint] => [isOptional] => [defaultValue] => [isPassedByReference] => [description] => Widget name [type] => string [types] => Array ( [0] => string ) [sourceFile] => vendor/socialveo/socialveo/socialveo/frontend/widgets/WidgetBase.php ) ) [exceptions] => Array ( ) [return] => [returnType] => string|\Socialveo\Frontend\widgets\WidgetBase|static [returnTypes] => Array ( [0] => string [1] => \Socialveo\Frontend\widgets\WidgetBase [2] => static ) [isReturnByReference] => [phpDocContext] => phpDocumentor\Reflection\DocBlock\Context Object ( [namespace:protected] => Socialveo\Frontend\widgets [namespace_aliases:protected] => Array ( [Config] => \Phalcon\Config [Di] => \Phalcon\Di [PhalconWidgetBase] => \Phalcon\Ext\Widgets\WidgetBase [Text] => \Phalcon\Text [Gettext] => \Phalcon\Translate\Adapter\Gettext [View] => \Socialveo\Core\library\view\View [SocialveoModel] => \Socialveo\Core\models\SocialveoModel ) [lsen:protected] => ) [name] => getWidget [sourceFile] => vendor/socialveo/socialveo/socialveo/frontend/widgets/WidgetBase.php [startLine] => 142 [endLine] => 179 [shortDescription] => Get widget [description] => [since] => [deprecatedSince] => [deprecatedReason] => [tags] => Array ( ) ) [createWidget] => yii\apidoc\models\MethodDoc Object ( [isAbstract] => [isFinal] => [isStatic] => 1 [visibility] => public [definedBy] => Socialveo\Frontend\widgets\WidgetBase [params] => Array ( [$name] => yii\apidoc\models\ParamDoc Object ( [name] => $name [typeHint] => [isOptional] => [defaultValue] => [isPassedByReference] => [description] => Widget name [type] => string [types] => Array ( [0] => string ) [sourceFile] => vendor/socialveo/socialveo/socialveo/frontend/widgets/WidgetBase.php ) ) [exceptions] => Array ( ) [return] => [returnType] => string|\Socialveo\Frontend\widgets\WidgetBase|static [returnTypes] => Array ( [0] => string [1] => \Socialveo\Frontend\widgets\WidgetBase [2] => static ) [isReturnByReference] => [phpDocContext] => phpDocumentor\Reflection\DocBlock\Context Object ( [namespace:protected] => Socialveo\Frontend\widgets [namespace_aliases:protected] => Array ( [Config] => \Phalcon\Config [Di] => \Phalcon\Di [PhalconWidgetBase] => \Phalcon\Ext\Widgets\WidgetBase [Text] => \Phalcon\Text [Gettext] => \Phalcon\Translate\Adapter\Gettext [View] => \Socialveo\Core\library\view\View [SocialveoModel] => \Socialveo\Core\models\SocialveoModel ) [lsen:protected] => ) [name] => createWidget [sourceFile] => vendor/socialveo/socialveo/socialveo/frontend/widgets/WidgetBase.php [startLine] => 186 [endLine] => 190 [shortDescription] => Create widget [description] => [since] => [deprecatedSince] => [deprecatedReason] => [tags] => Array ( ) ) ) [properties] => Array ( [$_view] => yii\apidoc\models\PropertyDoc Object ( [visibility] => protected [isStatic] => [type] => \Socialveo\Core\library\view\View [types] => Array ( [0] => \Socialveo\Core\library\view\View ) [defaultValue] => [getter] => [setter] => [definedBy] => Socialveo\Frontend\widgets\WidgetBase [phpDocContext] => phpDocumentor\Reflection\DocBlock\Context Object ( [namespace:protected] => Socialveo\Frontend\widgets [namespace_aliases:protected] => Array ( [Config] => \Phalcon\Config [Di] => \Phalcon\Di [PhalconWidgetBase] => \Phalcon\Ext\Widgets\WidgetBase [Text] => \Phalcon\Text [Gettext] => \Phalcon\Translate\Adapter\Gettext [View] => \Socialveo\Core\library\view\View [SocialveoModel] => \Socialveo\Core\models\SocialveoModel ) [lsen:protected] => ) [name] => $_view [sourceFile] => vendor/socialveo/socialveo/socialveo/frontend/widgets/WidgetBase.php [startLine] => 34 [endLine] => 34 [shortDescription] => [description] => [since] => [deprecatedSince] => [deprecatedReason] => [tags] => Array ( [0] => phpDocumentor\Reflection\DocBlock\Tag\VarTag Object ( [variableName:protected] => [isVariadic:protected] => [type:protected] => View [types:protected] => phpDocumentor\Reflection\DocBlock\Type\Collection Object ( [context:protected] => phpDocumentor\Reflection\DocBlock\Context Object ( [namespace:protected] => Socialveo\Frontend\widgets [namespace_aliases:protected] => Array ( [Config] => \Phalcon\Config [Di] => \Phalcon\Di [PhalconWidgetBase] => \Phalcon\Ext\Widgets\WidgetBase [Text] => \Phalcon\Text [Gettext] => \Phalcon\Translate\Adapter\Gettext [View] => \Socialveo\Core\library\view\View [SocialveoModel] => \Socialveo\Core\models\SocialveoModel ) [lsen:protected] => ) [storage:ArrayObject:private] => Array ( [0] => \Socialveo\Core\library\view\View ) ) [tag:protected] => var [content:protected] => View [description:protected] => [parsedDescription:protected] => [location:protected] => [docblock:protected] => phpDocumentor\Reflection\DocBlock Object ( [short_description:protected] => View instance [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\Frontend\widgets [namespace_aliases:protected] => Array ( [Config] => \Phalcon\Config [Di] => \Phalcon\Di [PhalconWidgetBase] => \Phalcon\Ext\Widgets\WidgetBase [Text] => \Phalcon\Text [Gettext] => \Phalcon\Translate\Adapter\Gettext [View] => \Socialveo\Core\library\view\View [SocialveoModel] => \Socialveo\Core\models\SocialveoModel ) [lsen:protected] => ) [location:protected] => phpDocumentor\Reflection\DocBlock\Location Object ( [lineNumber:protected] => 30 [columnNumber:protected] => 0 ) [isTemplateStart:protected] => [isTemplateEnd:protected] => ) ) ) ) ) [namespace] => Socialveo\Frontend\widgets [phpDocContext] => phpDocumentor\Reflection\DocBlock\Context Object ( [namespace:protected] => Socialveo\Frontend\widgets [namespace_aliases:protected] => Array ( [Config] => \Phalcon\Config [Di] => \Phalcon\Di [PhalconWidgetBase] => \Phalcon\Ext\Widgets\WidgetBase [Text] => \Phalcon\Text [Gettext] => \Phalcon\Translate\Adapter\Gettext [View] => \Socialveo\Core\library\view\View [SocialveoModel] => \Socialveo\Core\models\SocialveoModel ) [lsen:protected] => ) [name] => Socialveo\Frontend\widgets\WidgetBase [sourceFile] => vendor/socialveo/socialveo/socialveo/frontend/widgets/WidgetBase.php [startLine] => 28 [endLine] => 191 [shortDescription] => Class WidgetBase [description] => [since] => [deprecatedSince] => [deprecatedReason] => [tags] => Array ( [0] => phpDocumentor\Reflection\DocBlock\Tag Object ( [tag:protected] => package [content:protected] => Socialveo\Frontend\widgets [description:protected] => Socialveo\Frontend\widgets [parsedDescription:protected] => [location:protected] => [docblock:protected] => phpDocumentor\Reflection\DocBlock Object ( [short_description:protected] => Class WidgetBase [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\Frontend\widgets [namespace_aliases:protected] => Array ( [Config] => \Phalcon\Config [Di] => \Phalcon\Di [PhalconWidgetBase] => \Phalcon\Ext\Widgets\WidgetBase [Text] => \Phalcon\Text [Gettext] => \Phalcon\Translate\Adapter\Gettext [View] => \Socialveo\Core\library\view\View [SocialveoModel] => \Socialveo\Core\models\SocialveoModel ) [lsen:protected] => ) [location:protected] => phpDocumentor\Reflection\DocBlock\Location Object ( [lineNumber:protected] => 23 [columnNumber:protected] => 0 ) [isTemplateStart:protected] => [isTemplateEnd:protected] => ) ) [1] => phpDocumentor\Reflection\DocBlock\Tag Object ( [tag:protected] => mixin [content:protected] => Di\Injectable [description:protected] => Di\Injectable [parsedDescription:protected] => [location:protected] => [docblock:protected] => phpDocumentor\Reflection\DocBlock Object ( [short_description:protected] => Class WidgetBase [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\Frontend\widgets [namespace_aliases:protected] => Array ( [Config] => \Phalcon\Config [Di] => \Phalcon\Di [PhalconWidgetBase] => \Phalcon\Ext\Widgets\WidgetBase [Text] => \Phalcon\Text [Gettext] => \Phalcon\Translate\Adapter\Gettext [View] => \Socialveo\Core\library\view\View [SocialveoModel] => \Socialveo\Core\models\SocialveoModel ) [lsen:protected] => ) [location:protected] => phpDocumentor\Reflection\DocBlock\Location Object ( [lineNumber:protected] => 23 [columnNumber:protected] => 0 ) [isTemplateStart:protected] => [isTemplateEnd:protected] => ) ) ) ) public static string|Socialveo\Frontend\widgets\WidgetBase|Socialveo\Frontend\widgets\WidgetBase getWidget ( $name )
$name string

Widget name

init() public method

public void init ( )
initView() public method

Init view

public void initView ( )
onConstruct() public method

public void onConstruct ( )
renderView() public method

Render view

public string renderView ( $view, $params null )
$view string
$params null|array
setViewVar() public method

Set view var

public void setViewVar ( $var, $value )
$var string
$value mixed