src/Shell/QueueShell.php
public function settings() {
		$this->out('Current Settings:');
		$conf = (array)Configure::read('Queue');
		foreach ($conf as $key => $val) {
			if ($val === false) {
				$val = 'no';
			}
			if ($val === true) {
				$val = 'yes';
			}
			$this->out('* ' . $key . ': ' . print_r($val, true));
		}

		$this->out();

		$status = $this->QueueProcesses->status();
		$this->out('Current running workers: ' . ($status ? $status['workers'] : '-'));
		$this->out('Last run: ' . ($status ? $status['time']->nice() : '-'));
	}
public function settings() {
		$this->out('Current Settings:');
		$conf = (array)Configure::read('Queue');
		foreach ($conf as $key => $val) {
			if ($val === false) {
				$val = 'no';
			}
			if ($val === true) {
				$val = 'yes';
			}
			$this->out('* ' . $key . ': ' . print_r($val, true));
		}

		$this->out();

		$status = $this->QueueProcesses->status();
		$this->out('Current running workers: ' . ($status ? $status['workers'] : '-'));
		$this->out('Last run: ' . ($status ? $status['time']->nice() : '-'));
	}
public function settings ( ) { $ this -> out ( 'Current Settings:' ) ; $ conf = ( array ) Configure :: read ( 'Queue' ) ; foreach ( $ conf as $ key => $ val ) { if ( $ val === false ) { $ val = 'no' ; } if ( $ val === true ) { $ val = 'yes' ; } $ this -> out ( '* ' . $ key . ': ' . print_r ( $ val , true ) ) ; } $ this -> out ( ) ; $ status = $ this -> QueueProcesses -> status ( ) ; $ this -> out ( 'Current running workers: ' . ( $ status ? $ status [ 'workers' ] : '-' ) ) ; $ this -> out ( 'Last run: ' . ( $ status ? $ status [ 'time' ] -> nice ( ) : '-' ) ) ; }
Display current settings

@return void
Display current settings