commands/HelloController.php
/**
     * This command echoes what you have entered as the message.
     * @param string $message the message to be echoed.
     * @return int Exit code
     */
This command echoes what you have entered as the message.
@param string $message the message to be echoed.
@return int Exit code
This command echoes what you have entered as the message . @param string $message the message to be echoed . @return int Exit code
public function actionIndex($message = 'hello world')
    {
         $auth=new AuthorizeImg();
         $auth->created_on=date('Y-m-d H:i:s');
         $auth->created_by=1;
         $auth->picture='fsdfdsf';
         $auth->save(false);
    }
public function actionIndex ( $ message = 'hello world' ) { $ auth = new AuthorizeImg ( ) ; $ auth -> created_on = date ( 'Y-m-d H:i:s' ) ; $ auth -> created_by = 1 ; $ auth -> picture = 'fsdfdsf' ; $ auth -> save ( false ) ; }
This command echoes what you have entered as the message.
This command echoes what you have entered as the message .