framework/cli/commands/ShellCommand.php
protected function addCommands(CConsoleCommandRunner $runner)
	{
		$runner->addCommands(Yii::getPathOfAlias('system.cli.commands.shell'));
		$runner->addCommands(Yii::getPathOfAlias('application.commands.shell'));
		if(($_path_=@getenv('YIIC_SHELL_COMMAND_PATH'))!==false)
			$runner->addCommands($_path_);
	}
protected function addCommands(CConsoleCommandRunner $runner)
	{
		$runner->addCommands(Yii::getPathOfAlias('system.cli.commands.shell'));
		$runner->addCommands(Yii::getPathOfAlias('application.commands.shell'));
		if(($_path_=@getenv('YIIC_SHELL_COMMAND_PATH'))!==false)
			$runner->addCommands($_path_);
	}
protected function addCommands ( CConsoleCommandRunner $ runner ) { $ runner -> addCommands ( Yii :: getPathOfAlias ( 'system.cli.commands.shell' ) ) ; $ runner -> addCommands ( Yii :: getPathOfAlias ( 'application.commands.shell' ) ) ; if ( ( $ _path_ = @ getenv ( 'YIIC_SHELL_COMMAND_PATH' ) ) !== false ) $ runner -> addCommands ( $ _path_ ) ; }
Adds commands to runner
@param CConsoleCommandRunner $runner
@since 1.1.16
Adds commands to runner