DooPHP - fastest MVC based PHP framework

Learn More

The Official Blog of DooPHP

News, Updates, Tips & Tricks for DooPHP

Subscribe to Blog

Subscribe to the official blog of DooPHP framework.

Extending DooPHP Framework2009-09-12 21:13:22

Extending DooPHP Framework

If you would like to extend the framework, you can write your own class that extends the framework classes.

For instance, you might want to extend the DooValidator. You can write your own validator class in protected/class

Doo::loadHelper('DooValidator');

classs MyValidator extends DooValidator{
     //..??your extended code..
}

And then you can use your extended class in controller:

Doo::loadClass('MyValidator');

Read more tips & tricks at the forum


Published under: Tips & Tricks Share/Save/Bookmark

1 Comments:

mohamed elmahdy said: good

Sun, 13 Sep 2009 10:35am

good work


Leave a Reply

About

Categories

Archives



Syndication