Example #1
0
        /**
         * outSplashScreen()
         * 
         * @param array $lines
         * @param bool $clear_screen
         */
        public function outSplashScreen($lines=array(),$clear_screen=false) {
                $this->Out->debug(__METHOD__,func_get_args());

                // Clear the screen
                if($clear_screen) {
                        passthru('clear');
                }

                // Output some stuff
                $this->Out->hr();
                foreach($lines as $line) {
                        if($line !== false) {
                                $this->Out->msg($line,true,true);
                        }
                }
                $this->Out->hr();

                $this->Out->msg();
                $this->Out->msg("Type 'help' for usage, use <TAB> for command completion");
                $this->Out->msg();
        }