Created
April 22, 2017 06:11
-
-
Save khairulhasanmd/c1dcc2aea07c7a01e0678316ee95c515 to your computer and use it in GitHub Desktop.
controller and model functions list
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
public function test($value='') | |
{ | |
echo '<h2>Controller</h2>'.$this->router->class.'<pre>'; | |
$mthds = (get_class_methods ( $this->router->class )); | |
foreach ($mthds as $key => $value) { | |
echo $value.'<br>'; | |
} | |
echo '</pre><h2>Model</h2>'; | |
echo '<pre>'.$this->router->class.'_mdl'; | |
$mthds = (get_class_methods ( $this->router->class.'_mdl' )); | |
foreach ($mthds as $key => $value) { | |
echo $value.'<br>'; | |
} | |
echo '<pre>'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment