Home Community Mys-Script Creative Off-Topic |
|
|
Thread Tools | Display Modes |
#1
|
||||
|
||||
Calling a function in a function from the same class page
Hello, I'm currently trying to edit the code in the class_owned_adoptables files and am trying to call the "getNextLevel" function in another function, but I can't get the function to return a value. Does anyone know a way around this or a way to call the function within a function in the same file? I'm using v1.3.3. Thank you!
The code is something like this in the function that calles the "getNextLevel" function: public function code{ $nextlevel = $this->getNextLevel(); $document->add(new Comment($nextlevel)); } No value is returned. Last edited by Hwona; 04-24-2015 at 11:59 PM. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Help with a item function | kristhasirah | Questions and Supports | 35 | 04-03-2017 10:17 AM |
Item Function Suggestions | NobodysHero | Suggestions and Feature Requests | 5 | 06-23-2014 03:45 AM |
Add a new function in the myadopts page? | Infernette | Questions and Supports | 8 | 07-02-2013 12:12 PM |
Help in PHP function | lovejenete | Other Chat | 3 | 12-06-2009 08:46 AM |
What's New? |
What's Hot? |
What's Popular? |