mercredi 2 décembre 2015

Call method on parent controller?

I extend a controller that has a method:

show($id){
    //do something
}

In my extended controller I override the show method:

show($id){
    //do something else
}

How can I call the show method on the parent controller?

show($id){
    if($id == 1) //go to show method on parent controller
} 



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire