I have a custom bootstrap class and I’m extending it.
class Bootstrap extends MyBootstrap
{
}
MyBootstrap.php class have some _init methods. I need it to load all MyBootstrap methods first. How to?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Try something like this inside the Bootstrap class:
get_class_methods – returns the class methods’ names. Then look for methods like ‘_init‘ and run them.