本文整理汇总了PHP中OW_Event::__construct方法的典型用法代码示例。如果您正苦于以下问题:PHP OW_Event::__construct方法的具体用法?PHP OW_Event::__construct怎么用?PHP OW_Event::__construct使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类OW_Event
的用法示例。
在下文中一共展示了OW_Event::__construct方法的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: __construct
public function __construct($name, $pluginKey, $action, $userId)
{
parent::__construct($name);
$this->plugin = trim($pluginKey);
$this->action = trim($action);
$this->userId = (int) $userId;
}
示例2: __construct
/**
* Constructor.
*/
public function __construct($name, array $properties, array $params = array())
{
parent::__construct($name, $params);
$this->props = $properties;
}
示例3: __construct
public function __construct($name, array $params = array())
{
parent::__construct($name, $params);
$this->data = array("join" => array(), "where" => array(), "order" => array(), "params" => array());
}
示例4: __construct
/**
* Constructor.
*
* @param string $name
*/
public function __construct($name, BOL_Comment $item, array $data)
{
parent::__construct($name);
$this->item = $item;
$this->dataArr = $data;
}
示例5: __construct
public function __construct($name, $params = array())
{
parent::__construct($name, $params);
$this->data = array();
}
示例6: __construct
public function __construct($name, $params, $data)
{
parent::__construct($name, $params);
$this->data = $data;
}
示例7: __construct
/**
* Constructor.
*/
public function __construct($name, array $properties)
{
parent::__construct($name);
$this->props = $properties;
}
示例8: __construct
public function __construct($name, $params, $data)
{
parent::__construct($name, $params, $data);
$this->itemsList = array();
}