Guest User

Untitled

a guest
Nov 23rd, 2017
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.47 KB | None | 0 0
  1. /**
  2.      * Declares class-based actions.
  3.      */
  4.     public function actions()
  5.     {
  6.         return array(
  7.             // captcha action renders the CAPTCHA image displayed on the contact page
  8.             'captcha'=>array(
  9.                 'class'=>'CCaptchaAction',
  10.                 'backColor'=>0xFFFFFF,
  11.             ),
  12.             // page action renders "static" pages stored under 'protected/views/site/pages'
  13.             // They can be accessed via: index.php?r=site/page&view=FileName
  14.             'page'=>array(
  15.                 'class'=>'CViewAction',
  16.             ),
  17.         );
  18.     }
Add Comment
Please, Sign In to add comment