本文整理汇总了PHP中CEvent::__construct方法的典型用法代码示例。如果您正苦于以下问题:PHP CEvent::__construct方法的具体用法?PHP CEvent::__construct怎么用?PHP CEvent::__construct使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类CEvent
的用法示例。
在下文中一共展示了CEvent::__construct方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: __construct
public function __construct($sender, $model, $objectParameter)
{
parent::__construct($sender);
$this->visualElement = null;
$this->model = $model;
$this->objectParameter = $objectParameter;
}
示例2: __construct
public function __construct($sender, $idObject, $where, $params = array())
{
parent::__construct($sender);
$this->idObject = $idObject;
$this->where = $where;
$this->params = $params;
}
示例3: __construct
public function __construct($sender, $model, $objectParameter, $status = ViewController::ENTITY_STATUS_AVAILABLE)
{
parent::__construct($sender);
$this->model = $model;
$this->objectParameter = $objectParameter;
$this->status = $status;
}
示例4: __construct
/**
* Constructor.
* @param mixed $sender sender of the event
* @param string $code error code
* @param string $message error message
* @param string $file error file
* @param integer $line error line
*/
public function __construct($sender, $code, $message, $file, $line)
{
$this->code = $code;
$this->message = $message;
$this->file = $file;
$this->line = $line;
parent::__construct($sender);
}
示例5: __construct
/**
* Constructor
* @param mixed|null $sender sender of the event
* @param mixed|null $onAction
* @param $blbImage
* @param $objProduct
* @param int $intSequence
*/
public function __construct($sender, $onAction, $blbImage, $objProduct, $intSequence = 0)
{
$this->onAction = $onAction;
$this->blbImage = $blbImage;
$this->objProduct = $objProduct;
$this->intSequence = $intSequence;
parent::__construct($sender);
}
示例6: __construct
public function __construct($sender, $message, $type, $sticked, $time)
{
parent::__construct($sender);
$this->message = $message;
$this->type = $type;
$this->sticked = $sticked;
$this->time = $time;
}
示例7: __construct
public function __construct($sender, $idObject, $create = true)
{
parent::__construct($sender);
$this->idObject = $idObject;
$this->create = $create;
}
示例8: __construct
public function __construct($sender, $idView, $grid)
{
parent::__construct($sender);
$this->idObjectView = $idView;
$this->grid = $grid;
}
示例9: __construct
/**
* Constructor.
* @param WidgetFactory $sender The WidgetFactory instance
* @param CBaseController $owner The owner of the new widget
* @param string $className The class name of the widget. This can also be a path alias.
* @param array $params The initial property values (name=>value) of the widget.
*/
public function __construct(WidgetFactory $sender, CBaseController $owner, $className, array $params = array())
{
parent::__construct($sender, $params);
$this->owner = $owner;
$this->className = $className;
}
示例10: __construct
/**
* Constructor.
* @param mixed $sender sender of this event
* @param string $category the category that the message belongs to
* @param string $message the message to be translated
* @param string $language the ID of the language that the message is to be translated to
*/
public function __construct($sender, $category, $message, $language)
{
parent::__construct($sender);
$this->message = $message;
$this->category = $category;
$this->language = $language;
}
示例11: __construct
/**
* Constructor.
* @param mixed $sender sender of the event
* @param string $params the parameters to be passed to the action method.
* @param string $action the action name
* @param integer $exitCode the application exit code
*/
public function __construct($sender = null, $params = null, $action = null, $exitCode = 0)
{
parent::__construct($sender, $params);
$this->action = $action;
$this->exitCode = $exitCode;
}
示例12: __construct
/**
* Конструктор
* @param mixed $sender объект, вызвавший событие
* @param string $params параметры, передаваемые в метод действия
* @param string $action имя действия
*/
public function __construct($sender = null, $params = null, $action = null)
{
parent::__construct($sender, $params);
$this->action = $action;
}
示例13: __construct
public function __construct($sender, $model)
{
parent::__construct($sender);
$this->model = $model;
}
示例14: __construct
public function __construct($sender, $step = null, $data = null)
{
parent::__construct($sender);
$this->step = $step;
$this->data = $data;
}
示例15: __construct
/**
* Constructor.
* @param mixed $sender sender of the event
* @param mixed $blbImage error code
* @param Product $objProduct error message
*/
public function __construct($sender, $onAction, $objProduct)
{
$this->onAction = $onAction;
$this->objProduct = $objProduct;
parent::__construct($sender);
}