Class lispa\amos\documenti\widgets\graphics\WidgetGraphicsHierarchicalDocuments

Inheritancelispa\amos\documenti\widgets\graphics\WidgetGraphicsHierarchicalDocuments » lispa\amos\core\widget\WidgetGraphic » lispa\amos\core\widget\WidgetAbstract » yii\base\Widget » yii\base\Component » yii\base\Object
Implementsyii\base\Configurable, yii\base\ViewContextInterface

Class WidgetGraphicsHierarchicalDocuments

Public Properties

Hide inherited properties

PropertyTypeDescriptionDefined By
$autoIdPrefix string The prefix to the automatically generated widget IDs. yii\base\Widget
$availableViews array lispa\amos\documenti\widgets\graphics\WidgetGraphicsHierarchicalDocuments
$behaviors yii\base\Behavior[] List of behaviors attached to this component yii\base\Component
$children lispa\amos\core\widget\WidgetAbstract
$classFullSize string lispa\amos\core\widget\WidgetAbstract
$code lispa\amos\core\widget\WidgetAbstract
$counter integer A counter used to generate $id for widgets. yii\base\Widget
$currentView string lispa\amos\documenti\widgets\graphics\WidgetGraphicsHierarchicalDocuments
$description lispa\amos\core\widget\WidgetAbstract
$gridViewColumns array lispa\amos\documenti\widgets\graphics\WidgetGraphicsHierarchicalDocuments
$html lispa\amos\documenti\widgets\graphics\WidgetGraphicsHierarchicalDocuments
$id string ID of the widget. yii\base\Widget
$isVisible lispa\amos\core\widget\WidgetAbstract
$label lispa\amos\core\widget\WidgetAbstract
$moduleName lispa\amos\core\widget\WidgetAbstract
$navBar string lispa\amos\documenti\widgets\graphics\WidgetGraphicsHierarchicalDocuments
$parent lispa\amos\documenti\models\Documenti lispa\amos\documenti\widgets\graphics\WidgetGraphicsHierarchicalDocuments
$parentId integer lispa\amos\documenti\widgets\graphics\WidgetGraphicsHierarchicalDocuments
$stack yii\base\Widget[] The widgets that are currently being rendered (not ended). yii\base\Widget
$view yii\web\View The view object that can be used to render views or view files. yii\base\Widget
$viewPath string The directory containing the view files for this widget. yii\base\Widget
$widgetPermission lispa\amos\core\widget\WidgetAbstract

Public Methods

Hide inherited methods

MethodDescriptionDefined By
__call() Calls the named method which is not a class method. yii\base\Component
__clone() This method is called after the object is created by cloning an existing one. yii\base\Component
__construct() Constructor. yii\base\Object
__get() Returns the value of a component property. yii\base\Component
__isset() Checks if a property is set, i.e. defined and not null. yii\base\Component
__set() Sets the value of a component property. yii\base\Component
__unset() Sets a component property to be null. yii\base\Component
afterRun() This method is invoked right after a widget is executed. yii\base\Widget
attachBehavior() Attaches a behavior to this component. yii\base\Component
attachBehaviors() Attaches a list of behaviors to the component. yii\base\Component
beforeRun() This method is invoked right before the widget is executed. yii\base\Widget
begin() Begins a widget. yii\base\Widget
behaviors() Returns a list of behaviors that this component should behave as. yii\base\Component
canGetProperty() Returns a value indicating whether a property can be read. yii\base\Component
canSetProperty() Returns a value indicating whether a property can be set. yii\base\Component
className() Returns the fully qualified name of this class. yii\base\Object
detachBehavior() Detaches a behavior from the component. yii\base\Component
detachBehaviors() Detaches all behaviors from the component. yii\base\Component
end() Ends a widget. yii\base\Widget
ensureBehaviors() Makes sure that the behaviors declared in behaviors() are attached to this component. yii\base\Component
getAvailableView() lispa\amos\documenti\widgets\graphics\WidgetGraphicsHierarchicalDocuments
getAvailableViews() lispa\amos\documenti\widgets\graphics\WidgetGraphicsHierarchicalDocuments
getBehavior() Returns the named behavior object. yii\base\Component
getBehaviors() Returns all behaviors attached to this component. yii\base\Component
getClassFullSize() lispa\amos\core\widget\WidgetAbstract
getCode() lispa\amos\core\widget\WidgetAbstract
getCurrentView() lispa\amos\documenti\widgets\graphics\WidgetGraphicsHierarchicalDocuments
getDescription() lispa\amos\core\widget\WidgetAbstract
getDocumentDate() lispa\amos\documenti\widgets\graphics\WidgetGraphicsHierarchicalDocuments
getGridViewColumns() lispa\amos\documenti\widgets\graphics\WidgetGraphicsHierarchicalDocuments
getHtml() lispa\amos\documenti\widgets\graphics\WidgetGraphicsHierarchicalDocuments
getIconDescription() lispa\amos\documenti\widgets\graphics\WidgetGraphicsHierarchicalDocuments
getId() Returns the ID of the widget. yii\base\Widget
getLabel() lispa\amos\core\widget\WidgetAbstract
getLinkOptions() lispa\amos\documenti\widgets\graphics\WidgetGraphicsHierarchicalDocuments
getModuleName() lispa\amos\core\widget\WidgetAbstract
getNavBar() This method render the nav bar for the widget. lispa\amos\documenti\widgets\graphics\WidgetGraphicsHierarchicalDocuments
getView() Returns the view object that can be used to render views or view files. yii\base\Widget
getViewPath() Returns the directory containing the view files for this widget. yii\base\Widget
getWidgetPermission() lispa\amos\core\widget\WidgetAbstract
hasEventHandlers() Returns a value indicating whether there is any handler attached to the named event. yii\base\Component
hasMethod() Returns a value indicating whether a method is defined. yii\base\Component
hasProperty() Returns a value indicating whether a property is defined for this component. yii\base\Component
init() lispa\amos\documenti\widgets\graphics\WidgetGraphicsHierarchicalDocuments
isVisible() lispa\amos\core\widget\WidgetAbstract
off() Detaches an existing event handler from this component. yii\base\Component
on() Attaches an event handler to an event. yii\base\Component
paramName() Name of the param to add at the refresh widget url. lispa\amos\documenti\widgets\graphics\WidgetGraphicsHierarchicalDocuments
pjaxSectionId() Id for the PJAX section. lispa\amos\documenti\widgets\graphics\WidgetGraphicsHierarchicalDocuments
render() Renders a view. yii\base\Widget
renderFile() Renders a view file. yii\base\Widget
run() Executes the widget. yii\base\Widget
setAvailableViews() lispa\amos\documenti\widgets\graphics\WidgetGraphicsHierarchicalDocuments
setClassFullSize() This method set the class name define custom size lispa\amos\core\widget\WidgetAbstract
setCode() lispa\amos\core\widget\WidgetAbstract
setCurrentView() lispa\amos\documenti\widgets\graphics\WidgetGraphicsHierarchicalDocuments
setDescription() lispa\amos\core\widget\WidgetAbstract
setId() Sets the ID of the widget. yii\base\Widget
setLabel() lispa\amos\core\widget\WidgetAbstract
setModuleName() lispa\amos\core\widget\WidgetAbstract
setView() Sets the view object to be used by this widget. yii\base\Widget
setWidgetPermission() lispa\amos\core\widget\WidgetAbstract
trigger() Triggers an event. yii\base\Component
widget() Creates a widget instance and runs it. yii\base\Widget

Events

Hide inherited events

EventTypeDescriptionDefined By
EVENT_AFTER_RUN yii\base\WidgetEvent An event raised right after executing a widget. (available since version 2.0.11) yii\base\Widget
EVENT_BEFORE_RUN yii\base\WidgetEvent An event raised right before executing a widget. (available since version 2.0.11) yii\base\Widget
EVENT_INIT yii\base\Event An event that is triggered when the widget is initialized via init(). (available since version 2.0.11) yii\base\Widget

Property Details

$availableViews public property
public mixed getAvailableViews ( )
public void setAvailableViews ( $availableViews )
$currentView public property
public string getCurrentView ( )
public void setCurrentView ( $currentView )
$gridViewColumns public read-only property
$html public read-only property
public void getHtml ( )
$navBar public read-only property
public string getNavBar ( )
$parent public property
$parentId public property
public integer $parentId null

Method Details

getAvailableView() public method

public mixed getAvailableView ( $name )
$name string
getAvailableViews() public method

public mixed getAvailableViews ( )
getCurrentView() public method

public string getCurrentView ( )
getDefaultCurrentView() protected method

protected mixed getDefaultCurrentView ( )
getDocumentDate() public static method

public static string getDocumentDate ( $model )
$model lispa\amos\documenti\models\Documenti
throws yii\base\InvalidConfigException
getGridViewColumns() public method

public array getGridViewColumns ( )
getHtml() public method

public void getHtml ( )
getIconDescription() public static method

public static string getIconDescription ( $model )
$model lispa\amos\documenti\models\Documenti
getLinkOptions() public static method

public static array getLinkOptions ( $model )
$model lispa\amos\documenti\models\Documenti
getNavBar() public method

This method render the nav bar for the widget.

public string getNavBar ( )
init() public method

public void init ( )
initAvailableViews() protected method

Init available views.

protected void initAvailableViews ( )
initCurrentView() protected method

Init current view.

protected void initCurrentView ( )
paramName() public static method

Name of the param to add at the refresh widget url.

public static string paramName ( )
pjaxSectionId() public static method

Id for the PJAX section.

public static string pjaxSectionId ( )
setAvailableViews() public method

public void setAvailableViews ( $availableViews )
$availableViews mixed
setCurrentView() public method

public void setCurrentView ( $currentView )
$currentView string