Hello,
I'm really new to Yii but I need to create some class methods and invoke it from my Yii App., How can I acomplish this task?
What I want to do is something like this :
class Person extends CActiveRecord
{
…
public static function migrate()
{
   // do something
}
}
and I want to invoke Person.migrate from my SiteController,
class SiteController extends Controller
{
…
public function actionMigrate()
{
  //Don't know how to call Person.Migrate
  //Person.migrate();    <img src='http://www.yiiframework.com/forum/public/style_emoticons/default/huh.gif' class='bbc_emoticon' alt='???' />?
  //Yii::Person.migrate();  <img src='http://www.yiiframework.com/forum/public/style_emoticons/default/huh.gif' class='bbc_emoticon' alt='???' />?
  $this->render('migrate');
}
}
Thank you.