public function message($text, $flags = 0) { return $this->_notice($text, $flags, 'messages', 'NoticeMessage'); }
/** * Record an informational or 'success' message in the message log (messages.txt) * * @param string $text Message to log * @param bool|int $flags Specify boolean true to also have the message displayed interactively (admin only). * @return $this * */ public function message($text, $flags = 0) { $flags = $flags === true ? Notice::log : $flags | Notice::logOnly; return parent::message($text, $flags); }