andy_s, on 09 February 2010 - 07:37 AM, said:
Actually there is no magic. You just attach an action to a controller (actions can be classes), and, when this action is called, it renders an image and saves generated number in user's session.
Oh ya sir...
are actions() method is some of the rules that will executed automatically by yii when it run?
how about relations() method and rules() method in model. are this same as with actions() that belong to special method by yii
because this name of method is like generally not made into special name like adding underscore at first (eg: __get() or __set ) that seems are special method that determined by framework
thanks