public function __construct()
 {
     parent::__construct();
     $this->a[SlackResult::R_MRKDWN_IN] = array(SlackResult::R_PRETEXT, SlackResult::R_TEXT, SlackResult::R_TITLE, SlackResult::R_FALLBACK, SlackResult::R_FIELDS, SlackResult::R_COLOR);
 }
Example #2
0
 public function getError()
 {
     if (isset($this->error)) {
         return $this->error;
     }
     parent::getError();
 }
Example #3
0
 /**
  * {@inheritdoc}
  *
  * @link http://php.net/manual/en/function.ksort.php
  * @link http://php.net/manual/en/function.krsort.php
  */
 public function sortKeys($order = SORT_ASC, $strategy = SORT_REGULAR)
 {
     $elements = $this->elements;
     parent::sortingKeys($elements, $order, $strategy);
     return new static($elements);
 }
Example #4
0
 /**
  * @param mixed $value
  * @return mixed
  */
 public function add($value)
 {
     return parent::add($value);
 }
 public function __construct()
 {
     parent::__construct();
     $this->a[self::R_MRKDWN] = true;
 }
Example #6
0
 /**
  * {@inheritdoc}
  *
  * @link http://php.net/manual/en/function.ksort.php
  * @link http://php.net/manual/en/function.krsort.php
  */
 public function sortKeys($order = SORT_ASC, $strategy = SORT_REGULAR)
 {
     parent::sortingKeys($this->elements, $order, $strategy);
     return $this;
 }
 public function __construct()
 {
     parent::__construct();
     $this->a[R_MRKDWN_IN] = array(R_PRETEXT, R_TEXT, R_TITLE, R_FALLBACK, R_FIELDS);
 }