本文整理匯總了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();
}