PHP 클래스 YiiWheels

저자: Antonio Ramirez ([email protected])
상속: extends CApplicationComponent
파일 보기 프로젝트 열기: 2amigos/yiiwheels

공개 프로퍼티들

프로퍼티 타입 설명
$assetsCss array of style library names to be registered when initializing the library.
$assetsJs array of javascript library names to be registered when initializing the library.
$htmlOptions the HTML options for the view container tag.

보호된 프로퍼티들

프로퍼티 타입 설명
$_api TbApi
$_assetsUrl holds the published assets

공개 메소드들

메소드 설명
getApi ( ) : TbApi Returns the core library (yiistrap) component
getAssetsUrl ( ) : string Returns the assets URL.
init ( ) Widget's initialization
registerAssetCss ( string $cssFile, string $media = '' ) Registers a specific css in the asset's css folder
registerAssetJs ( string $jsFile, integer $position = CClientScript::POS_END ) Register a specific js file in the asset's js folder

메소드 상세

getApi() 공개 메소드

Returns the core library (yiistrap) component
public getApi ( ) : TbApi
리턴 TbApi

getAssetsUrl() 공개 메소드

Assets folder has few orphan and very useful utility libraries.
public getAssetsUrl ( ) : string
리턴 string

init() 공개 메소드

Widget's initialization
public init ( )

registerAssetCss() 공개 메소드

Registers a specific css in the asset's css folder
public registerAssetCss ( string $cssFile, string $media = '' )
$cssFile string the css file name to register
$media string the media that the CSS file should be applied to. If empty, it means all media types.

registerAssetJs() 공개 메소드

Register a specific js file in the asset's js folder
또한 보기: CClientScript::registerScriptFile
public registerAssetJs ( string $jsFile, integer $position = CClientScript::POS_END )
$jsFile string
$position integer the position of the JavaScript code.

프로퍼티 상세

$_api 보호되어 있는 프로퍼티

protected TbApi $_api
리턴 TbApi

$_assetsUrl 보호되어 있는 프로퍼티

holds the published assets
protected $_assetsUrl

$assetsCss 공개적으로 프로퍼티

of style library names to be registered when initializing the library.
public array $assetsCss
리턴 array

$assetsJs 공개적으로 프로퍼티

of javascript library names to be registered when initializing the library.
public array $assetsJs
리턴 array

$htmlOptions 공개적으로 프로퍼티

the HTML options for the view container tag.
public $htmlOptions