Welcome Guest, Not a member yet? Register   Sign In
Search for a certain function in all helper files?
#5

[eluser]Nummero2[/eluser]
My dode now:

$helpers = glob(APPPATH.'helpers/*_helper.php');

$line = '';

preg_match('/^_helper_test (.+?)\(/',$line);



echo var_dump( $line );

is that correct? For $line I just get an empty string dumped on the screen. Also I can“t find an explanation for the used function in detail (.+?)etc.

Besides that what does that do know. Searching all helper files for the function and put them into the variable $line?


Messages In This Thread
Search for a certain function in all helper files? - by El Forum - 08-14-2008, 04:27 AM
Search for a certain function in all helper files? - by El Forum - 08-14-2008, 04:42 AM
Search for a certain function in all helper files? - by El Forum - 08-14-2008, 08:48 AM
Search for a certain function in all helper files? - by El Forum - 08-14-2008, 08:59 AM
Search for a certain function in all helper files? - by El Forum - 08-14-2008, 11:40 AM
Search for a certain function in all helper files? - by El Forum - 08-14-2008, 12:13 PM
Search for a certain function in all helper files? - by El Forum - 08-14-2008, 04:10 PM
Search for a certain function in all helper files? - by El Forum - 08-14-2008, 05:12 PM
Search for a certain function in all helper files? - by El Forum - 08-15-2008, 04:26 AM
Search for a certain function in all helper files? - by El Forum - 08-15-2008, 07:31 AM
Search for a certain function in all helper files? - by El Forum - 08-15-2008, 11:43 AM
Search for a certain function in all helper files? - by El Forum - 08-15-2008, 02:14 PM
Search for a certain function in all helper files? - by El Forum - 08-17-2008, 06:39 AM
Search for a certain function in all helper files? - by El Forum - 08-17-2008, 09:04 AM
Search for a certain function in all helper files? - by El Forum - 08-18-2008, 01:55 AM
Search for a certain function in all helper files? - by El Forum - 08-18-2008, 02:23 AM
Search for a certain function in all helper files? - by El Forum - 08-18-2008, 06:08 AM
Search for a certain function in all helper files? - by El Forum - 08-18-2008, 06:27 AM



Theme © iAndrew 2016 - Forum software by © MyBB