oo… thank you very much master, your little answer is opening my mind to read again the documentation.
but its really help me… :-), so I now know that actions() method is one of the requirements and considered as controller that can be called from address bar.
yeahh… I wanna to using this framework within know about how this framework is built
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.
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
Sure it’s a special method (like relations() and rules()). When Yii can not find a controller’s action, it calls actions() method for help. If this method can’t help, then missingAction() method is called.