Horde_Core_Cli
extends Horde_Cli
in package
Wrapper for Horde_Cli that adds functionality specific to Horde applications.
Copyright 2011-2017 Horde LLC (http://www.horde.org/)
See the enclosed file LICENSE for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
Tags
Table of Contents
Methods
- question() : mixed
- Shows a prompt for a single configuration setting.
Methods
question()
Shows a prompt for a single configuration setting.
public
question(Horde_Variables $vars, string $prefix, string $name, array<string|int, mixed> $field) : mixed
Parameters
- $vars : Horde_Variables
-
This is going to be populated with the answers.
- $prefix : string
-
The current prefix for $name.
- $name : string
-
The name of the configuration setting.
- $field : array<string|int, mixed>
-
A part of the parsed configuration tree as returned from Horde_Config.