Current Path : /var/www/www-root/data/www.catalog.monolith-realty.ru/bitrix/modules/main/lib/ |
Current File : /var/www/www-root/data/www.catalog.monolith-realty.ru/bitrix/modules/main/lib/eventresult.php |
<?php namespace Bitrix\Main; class EventResult { const UNDEFINED = 0; const SUCCESS = 1; const ERROR = 2; protected $moduleId; protected $handler; protected $type; protected $parameters; public function __construct($type, $parameters = null, $moduleId = null, $handler = null) { $this->type = $type; $this->moduleId = $moduleId; $this->handler = $handler; $this->parameters = $parameters; } /** @deprecated Use getType() */ public function getResultType() { return $this->getType(); } public function getType() { return $this->type; } public function getModuleId() { return $this->moduleId; } public function getHandler() { return $this->handler; } public function getParameters() { return $this->parameters; } }