How to call member functions within a class? |
This is my original code:
Code: Then I took out first two lines and put them in a separate function with the purpose of lessen lines of code and to try calling a member function. Code: private function load_head_page() And then: Code: else But it's giving me a fatal error saying header.php is undefined... |
Messages In This Thread |
How to call member functions within a class? - by lexxtoronto - 03-17-2015, 11:36 AM
RE: How to call member functions within a class? - by logsdon - 03-17-2015, 11:48 AM
RE: How to call member functions within a class? - by lexxtoronto - 03-17-2015, 01:16 PM
RE: How to call member functions within a class? - by lexxtoronto - 03-17-2015, 01:27 PM
RE: How to call member functions within a class? - by lexxtoronto - 03-17-2015, 02:28 PM
RE: How to call member functions within a class? - by silentium - 03-17-2015, 07:29 PM
RE: How to call member functions within a class? - by lexxtoronto - 03-18-2015, 02:07 PM
|