Пример #1
0
 /**
  * Constructor
  *
  * Create an instance using the provided information. If nothing is
  * provided for the type field, the class default will be used;
  * if the status matches any known, the title field will be selected
  * from $problemStatusTitles as a result.
  *
  * @param int    $status
  * @param string $detail
  * @param string $type
  * @param string $title
  * @param array  $additional
  *  @param \Zend\service  $oService
  */
 public function __construct($status, $detail, $type = null, $title = null, array $additional = [], $oService = null)
 {
     parent::__construct($status, $detail, $type, $title, $additional);
     $this->_oService = $oService;
     $additional['status'] = $status;
     $additional['type'] = $type;
     $additional['title'] = $title;
     $this->_getLogService()->log(LogService::ERR, $detail, LogService::LOGICIEL, $additional);
 }