Messages about the application
17678
@RequestMapping(value = "application", method = RequestMethod.GET)
    public Resources<ApplicationInfo> applicationInfo() {
        return Resources.of(
                applicationInfoService.getApplicationInfoList(),
                uri(on(InfoController.class).applicationInfo())
        );
    }
621383
protected function welcomeMessage ()
    {
        $this->comment ('');
        $this->comment ('**************************************************');
        $this->comment (' Welcome to HoneyComb CMS initial configuration!!!');
        $this->comment ('**************************************************');
        $this->info ('');
    }
1235949
def display_message(
        self, subject='Find My iPhone Alert', message="This is a note",
        sounds=False
    ):
        
        data = json.dumps(
            {
                'device': self.content['id'],
                'subject': subject,
                'sound': sounds,
                'userText': True,
                'text': message
            }
        )
        self.session.post(
            self.message_url,
            params=self.params,
            data=data
        )
994776
public function notify()
    {
        if ($this->form)
        {
            if ($this->form->emailsAsArray)
            {
                foreach ($this->form->emailsAsArray as $email)
                {
                    \Yii::$app->mailer->view->theme->pathMap['@app/mail'][] = '@skeeks/modules/cms/form2/mail';

                    $message = \Yii::$app->mailer->compose('send-message', [
                        'form'              => $this->form,
                        'formSend'          => $this
                    ])
                    ->setFrom([\Yii::$app->cms->adminEmail => \Yii::$app->cms->appName])
                    ->setTo($email)
                    ->setSubject(\Yii::t('skeeks/form2/app', 'Submitting form') . ": «{$this->form->name}» #" . $this->id)
                    ;

                    $rp = $this->relatedPropertiesModel;
                    $rp->initAllProperties();

                    foreach ($rp->toArray() as $code => $value)
                    {
                        $property = $rp->getRelatedProperty($code);

                        if ($property && $property->handler instanceof PropertyTypeStorageFile) {
                            if ($property->handler->isMultiple) {
                                if ($files = StorageFile::find()->where(['id' => $value])->all()) {
                                    /**
                                     * @var StorageFile $file
                                     */
                                    foreach ($files as $file)
                                    {
                                        $message->attach($file->getRootSrc());
                                    }
                                }
                            } else {
                                if ($file = StorageFile::find()->where(['id' => $value])->one()) {
                                    /**
                                     * @var StorageFile $file
                                     */
                                    $message->attach($file->getRootSrc());
                                }
                            }
                        }
                    }


                    $message->send();
                }
            }
        }
    }
656028
def display_warning(self, message, short_message,
                        style=wx.OK | wx.ICON_WARNING):
        """"""

        dlg = GMD.GenericMessageDialog(self.main_window, message,
                                       short_message, style)
        dlg.ShowModal()
        dlg.Destroy()
216945
def display_message(pymux, variables):
    "  "
    message = variables['<message>']
    client_state = pymux.get_client_state()
    client_state.message = message
69709
function notify() {
    var args = arguments
    handlers.forEach(function(f){ f.apply(null, args) }) }
440213
def Message(message, title='FontParts', informativeText=""):
    
    return dispatcher["Message"](message=message, title=title,
                                 informativeText=informativeText)
421845
def show_messages(self):
        """"""
        string = self.header
        if self.static_message is not None:
            string += self.static_message.to_html()

        for message in self.dynamic_messages:
            string += message.to_html()

        string += self.footer
        print(string)
        self.setHtml(string)
44850
function() {
        var message = _.clone(this.attributes);
        message.restartCount = $$persistence.get('restartCount');
        message.logs = $$logging.get('logCache');
        message.events = $$logging.get('eventCache');

        $$network.transports.socketToConsole.sockets.emit('appState', message);
    }
1347178
private static function addMessages() {
        $out_data = session()->get('output');
        if ($out_data) {
            foreach ($out_data as $data) {
                self::$debugbar['messages']->debug($data);
            }
            session()->delete('output');
        }
    }
413396
def notify(self, msg, color='green', notify='true', message_format='text'):
        """"""
        self.message_dict = {
            'message': msg,
            'color': color,
            'notify': notify,
            'message_format': message_format,
        }
        if not self.debug:
            return requests.post(
                self.notification_url,
                json.dumps(self.message_dict),
                headers=self.headers
            )
        else:
            print('HipChat message: <{}>'.format(msg))
            return []
728858
def info():
    
    application = get_current_application()
    info = application.info()
    stdout.write(info)
    return info
976637
def message(self, data, kind="info"):
        """"""
        message = pd.io.json.dumps({'kind': kind, 'data': data})
        print("Sent {0} bytes.".format(len(message)))
        self.write_message(message)
293262
def messaging(self):
        
        if self._messaging is None:
            self._messaging = MessagingList(self)
        return self._messaging
184947
function onMessage( msg ) {
	// TODO: log
	if ( msg !== null ) {
		if ( msg.opts ) {
			topical.publish( 'opts', msg.opts );
		}
		if ( msg.body ) {
			topical.publish( 'body', msg.body );
		}
	}
	run();
}
644478
def message(self_,msg,*args,**kw):
        
        self_.__db_print(INFO,msg,*args,**kw)