Controller/DefaultController.php
protected function addFlashFromCronManager(CronManager $cm)
    {
        if ($cm->getOutput()) {
            $this->addFlash('message', $cm->getOutput());
        }

        if ($cm->getError()) {
            $this->addFlash('error', $cm->getError());
        }
    }
protected function addFlashFromCronManager(CronManager $cm)
    {
        if ($cm->getOutput()) {
            $this->addFlash('message', $cm->getOutput());
        }

        if ($cm->getError()) {
            $this->addFlash('error', $cm->getError());
        }
    }
protected function addFlashFromCronManager ( CronManager $ cm ) { if ( $ cm -> getOutput ( ) ) { $ this -> addFlash ( 'message' , $ cm -> getOutput ( ) ) ; } if ( $ cm -> getError ( ) ) { $ this -> addFlash ( 'error' , $ cm -> getError ( ) ) ; } }
Set flash from CronManager

@param CronManager $cm
Set flash from CronManager