當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。