当前位置: 首页>>代码示例>>PHP>>正文


PHP CEvent::__construct方法代码示例

本文整理汇总了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;
 }
开发者ID:Cranky4,项目名称:npfs,代码行数:7,代码来源:CreateVisualElementEvent.php

示例2: __construct

 public function __construct($sender, $idObject, $where, $params = array())
 {
     parent::__construct($sender);
     $this->idObject = $idObject;
     $this->where = $where;
     $this->params = $params;
 }
开发者ID:kot-ezhva,项目名称:ygin,代码行数:7,代码来源:PermissionWhereEvent.php

示例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;
 }
开发者ID:Cranky4,项目名称:npfs,代码行数:7,代码来源:ParameterAvailableEvent.php

示例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);
 }
开发者ID:romeo14,项目名称:pow,代码行数:16,代码来源:CErrorEvent.php

示例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);
 }
开发者ID:uiDeveloper116,项目名称:webstore,代码行数:16,代码来源:CEventPhoto.php

示例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;
 }
开发者ID:kot-ezhva,项目名称:ygin,代码行数:8,代码来源:MessageEvent.php

示例7: __construct

 public function __construct($sender, $idObject, $create = true)
 {
     parent::__construct($sender);
     $this->idObject = $idObject;
     $this->create = $create;
 }
开发者ID:Cranky4,项目名称:npfs,代码行数:6,代码来源:CreateInstanceEvent.php

示例8: __construct

 public function __construct($sender, $idView, $grid)
 {
     parent::__construct($sender);
     $this->idObjectView = $idView;
     $this->grid = $grid;
 }
开发者ID:Cranky4,项目名称:npfs,代码行数:6,代码来源:BeforeGridEvent.php

示例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;
 }
开发者ID:lidijakralj,项目名称:bober,代码行数:13,代码来源:WidgetFactory.php

示例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;
 }
开发者ID:frogoscar,项目名称:mobcent-discuz,代码行数:14,代码来源:CMessageSource.php

示例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;
 }
开发者ID:SallyU,项目名称:yiicms,代码行数:13,代码来源:CConsoleCommandEvent.php

示例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;
 }
开发者ID:danish-ii,项目名称:yiiru,代码行数:11,代码来源:CConsoleCommandEvent.php

示例13: __construct

 public function __construct($sender, $model)
 {
     parent::__construct($sender);
     $this->model = $model;
 }
开发者ID:Cranky4,项目名称:npfs,代码行数:5,代码来源:PostFormEvent.php

示例14: __construct

 public function __construct($sender, $step = null, $data = null)
 {
     parent::__construct($sender);
     $this->step = $step;
     $this->data = $data;
 }
开发者ID:noonnightcoder,项目名称:bakou-pos-apsara,代码行数:6,代码来源:WizardBehavior.php

示例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);
 }
开发者ID:uiDeveloper116,项目名称:webstore,代码行数:12,代码来源:CEventProduct.php


注:本文中的CEvent::__construct方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。