%PDF- %PDF-
| Direktori : /home/vacivi36/intranet.vacivitta.com.br/protected/humhub/modules/search/events/ |
| Current File : /home/vacivi36/intranet.vacivitta.com.br/protected/humhub/modules/search/events/SearchAddEvent.php |
<?php
/**
* @link https://www.humhub.org/
* @copyright Copyright (c) 2015 HumHub GmbH & Co. KG
* @license https://www.humhub.com/licences
*/
namespace humhub\modules\search\events;
use yii\base\Event;
/**
* This event is used when an object is added to search index
*
* @author luke
* @since 0.21
*/
class SearchAddEvent extends Event
{
/**
* @var array Reference to the currently added search attributes
*/
public $attributes;
/**
* @inheritdoc
*/
public function __construct(&$attributes)
{
$this->attributes = &$attributes;
$this->init();
}
}