YiiWheels
  • Package
  • Class
  • Tree

Packages

  • None
  • yiiwheels
    • behaviors
    • widgets
    • widgets
      • ace
      • box
      • datepicker
      • daterangepicker
      • datetimepicker
      • detail
      • fileupload
      • fileuploader
      • gallery
      • google
      • grid
        • behaviors
        • operations
      • highcharts
      • maskInput
      • maskmoney
      • modal
      • multiselect
      • rangeslider
      • redactor
      • select2
      • sparklines
      • switch
      • timeago
      • timepicker
      • toggle
      • typeahead

Classes

  • WhBox

Class WhBox

WhBox.php

CWidget
Extended by WhBox
Package: YiiWheels\widgets\box
Copyright: Copyright © 2amigos.us 2013-
License: New BSD License
Author: Antonio Ramirez <amigo.cobos@gmail.com>
Uses: YiiStrap.helpers.TbHtml
Located at widgets/box/WhBox.php

Methods summary

public
# init( )

.init()

.init()

Widget initialization

public
# run( )

.run()

.run()

Widget run - used for closing procedures

public
# renderHeader( )

.renderHeader()

.renderHeader()

Renders the header of the box with the header control (button to show/hide the box)

public
# renderButtons( )

.renderButtons()

.renderButtons()

Renders a header buttons to display the configured actions

public
# renderContentBegin( )
public
# renderContentEnd( )
public
# registerClientScript( )

.registerClientScript()

.registerClientScript()

Registers required script files (CSS in this case)

Magic methods summary

Properties summary

public mixed $title
#

Box title If set to false, a box with no title is rendered

Box title If set to false, a box with no title is rendered

public string $headerIcon
#

The class icon to display in the header title of the box.

The class icon to display in the header title of the box.

See

<http://twitter.github.com/bootstrap/base-css.html#icon>
public string $content
#

Box Content optional, the content of this attribute is echoed as the box content

Box Content optional, the content of this attribute is echoed as the box content

public array $htmlOptions
#

box HTML additional attributes

box HTML additional attributes

public array $htmlHeaderOptions
#

box header HTML additional attributes

box header HTML additional attributes

public array $htmlContentOptions
#

box content HTML additional attributes

box content HTML additional attributes

public array $headerButtons
#

the configuration for additional header buttons. Each array element specifies a single button which has the following format:

    array(
     TbHtml::button('Primary', array('color' => TbHtml::BUTTON_COLOR_PRIMARY))
     ...
)

the configuration for additional header buttons. Each array element specifies a single button which has the following format:

    array(
     TbHtml::button('Primary', array('color' => TbHtml::BUTTON_COLOR_PRIMARY))
     ...
)
YiiWheels API documentation generated by ApiGen 2.8.0