CExtController how to?

Hello, I want to create an Extension Controller to have some defaults action all.

I assume i create a dir under the extensions/mycontroller/

In file Mycontroller.php i do:




class MyController extend CExtController {

    public function actionDefault() {

        ......

        $foo=new Foo();

        ......

    }

}

Now the question i have are. Should the the functions be protected or public ?

If i want to have my extension controller independent from the model how can i do this.I mean in the actionDefault instead of Foo() and general when i need something like Foo::model() what can i use instead of it?

Last but not least.

How can then use the CExtController to be extending some controllers under Controller? should i use somethign like require_once?