Wiki articles tagged with "console"

Showing 1-7 of 7 items.

Interactive mode command-line command for Yii1

Created 8 years ago by Trejder, updated 8 years ago by Trejder.

For one of my projects I needed an interactive console command in Yii 1, i.e. the one that is gathering all information from user in an interactive mode (a serie of questions and answers displayed directly in the console), ignoring command-line arguments at all.

0 0
1 follower
Viewed: 19 614 times
Version: 1.1
Category: How-tos

Console Based CAuthManager Helper

Created 9 years ago by bluyell, updated 9 years ago by bluyell.

This behavior enable you to command the RBAC via console. This avoids you to install a entire rbac graphic toolkit to set up some rules in the rbac, maybe you are running inside a ssh console.

0 0
1 follower
Viewed: 12 907 times
Version: 1.1
Category: How-tos

Cron Jobs in Yii

Created 11 years ago by aarondfrancis, updated 9 years ago by Roman Solomatin.

I've gotten Yii running cron jobs, and wanted to explain briefly how I did it.

2 0
9 followers
Viewed: 35 106 times
Version: 1.1
Category: How-tos

Rendering a view file in a console application

Created 12 years ago by Tompi, updated 12 years ago by Tompi.

When someone want to send formatted HTML mails from a console application she/he will probably come across the problem of rendering view files.

2 1
7 followers
Viewed: 20 248 times
Version: 1.1
Category: How-tos

Autocomplete in console command

Created 13 years ago by Stamm, updated 13 years ago by Stamm.

Missed of autocomplete in bash console commands yii make me sad.

3 0
4 followers
Viewed: 15 836 times
Version: 1.1
Category: Tutorials

Run Yiic directly from your app without a shell

Created 13 years ago by jacmoe, updated 13 years ago by jacmoe.

Whatever reason, it turns out to be easy enough to add that feature to your application. :)

13 0
20 followers
Viewed: 49 419 times
Version: 1.1
Category: How-tos

How to customize error handling in console-mode applications

Created 13 years ago by Steve Friedl, updated 13 years ago by Steve Friedl.

One can control the detail of a web application in the webroot/index.php file by manipulating the values of YII_DEBUG and YII_TRACE_LEVEL, but these don't appear to be used by console applications. This is because although the base CApplication class defines a displayError() method that does consider these variable, CConsoleApplication overrides it with a function that doesn't honor th...

3 0
4 followers
Viewed: 21 581 times
Version: 1.1
Category: How-tos