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

  • YiiWheels

Class YiiWheels

YiiWheels class file.

CApplicationComponent
Extended by YiiWheels
Package: yiiwheels
Copyright: Copyright © 2amigos.us 2013-
License: New BSD License
Author: Antonio Ramirez <amigo.cobos@gmail.com>
Located at YiiWheels.php

Methods summary

public
# init( )

Widget's initialization

Widget's initialization

Throws

CException
public TbApi
# getApi( )

Returns the core library (yiistrap) component

Returns the core library (yiistrap) component

Returns

TbApi
public string
# getAssetsUrl( )

Returns the assets URL. Assets folder has few orphan and very useful utility libraries.

Returns the assets URL. Assets folder has few orphan and very useful utility libraries.

Returns

string
public mixed
# registerAssetJs( string $jsFile, integer $position = CClientScript::POS_END )

Register a specific js file in the asset's js folder

Register a specific js file in the asset's js folder

Parameters

$jsFile
string
$jsFile
$position
integer
$position the position of the JavaScript code.

Returns

mixed
$this

See

CClientScript::registerScriptFile
public mixed
# registerAssetCss( string $cssFile, string $media = '' )

Registers a specific css in the asset's css folder

Registers a specific css in the asset's css folder

Parameters

$cssFile
string
$cssFile the css file name to register
$media
string
$media the media that the CSS file should be applied to. If empty, it means all media types.

Returns

mixed
$this

Magic methods summary

Properties summary

public array $htmlOptions
#

the HTML options for the view container tag.

the HTML options for the view container tag.

public array $assetsJs
#

$assetsJs of javascript library names to be registered when initializing the library.

$assetsJs of javascript library names to be registered when initializing the library.

public array $assetsCss
#

$assetsCss of style library names to be registered when initializing the library.

$assetsCss of style library names to be registered when initializing the library.

protected TbApi $_api
#

$_api

$_api

protected string $_assetsUrl
#

holds the published assets

holds the published assets

YiiWheels API documentation generated by ApiGen 2.8.0