libs/Yii/web/widgets/CFlexWidget.php
(开头部分) 3KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<?php
/**
* CFlexWidget class file.
*
* @author Qiang Xue <qiang.xue@gmail.com>
* @link http://www.yiiframework.com/
* @copyright Copyright © 2008-2011 Yii Software LLC
* @license http://www.yiiframework.com/license/
*/
/**
* CFlexWidget embeds a Flex 3.x application into a page.
*
* To use CFlexWidget, set {@link name} to be the Flex application name
* (without the .swf suffix), and set {@link baseUrl} to be URL (without the ending slash)
* of the directory containing the SWF file of the Flex application.
*
* @property string $flashVarsAsString The flash parameter string.
*
* @author Qiang Xue <qiang.xue@gmail.com>
* @version $Id$
* @package system.web.widgets
* @since 1.0
*/
class CFlexWidget extends CWidget
{
/**
* @var string name of the Flex application.
* This should be the SWF file name without the ".swf" suffix.
*/
public $name;
/**
* @var string the base URL of the Flex application.
* This refers to the URL of the directory containing the SWF file.
*/
public $baseUrl;
/**
* @var string width of the application region. Defaults to 450.
*/
public $width='100%';
/**
* @var string height of the application region. Defaults to 300.
*/
public $height='100%';
/**
* @var string quality of the animation. Defaults to 'high'.
*/
public $quality='high';
/**
* @var string background color of the application region. Defaults to '#FFFFFF', meaning white.
*/
public $bgColor='#FFFFFF';
/**
* @var string align of the application region. Defaults to 'middle'.
*/
public $align='middle';
/**
* @var string the access method of the script. Defaults to 'sameDomain'.
*/
public $allowScriptAccess='sameDomain';
后面还有 62 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
