developer.jelix.org is not used any more and exists only for
history. Post new tickets on the Github account.
developer.jelix.org n'est plus utilisée, et existe uniquement pour son historique. Postez les nouveaux tickets sur le compte github.
developer.jelix.org n'est plus utilisée, et existe uniquement pour son historique. Postez les nouveaux tickets sur le compte github.
Opened 11 years ago
Last modified 9 years ago
#1098 delayed enhancement
Il manque une méthode d'interaction utilisateur pour jControllerCmdLine
Reported by: | Torgan | Owned by: | |
---|---|---|---|
Priority: | low | Milestone: | |
Component: | jelix:controllers | Version: | 1.1.6 |
Severity: | minor | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Documentation needed: | no | |
Hosting Provider: | Php version: |
Description
Il arrive lorsqu'on fait un script en ligne de commande qu'on veuille demander une information à l'utilisateur, ou une information supplémentaire. Pour ça il faudrait une méthode su style (pour l'heure je l'ai faite directement dans le code vu que je ne m'en sers qu'une fois, mais ça pourrait donner ça) :
public function input() { $handle = fopen("php://stdin", "r"); $line = fgets($handle); return $line; }
Change History (2)
comment:1 Changed 11 years ago by laurentj
- Component changed from jelix to jelix:controllers
- Priority changed from normal to low
- Severity changed from normal to minor
- Type changed from bug to enhancement
comment:2 Changed 9 years ago by laurentj
- Status changed from new to delayed
Note: See
TracTickets for help on using
tickets.