|||
חיפוש באתר:

רשימת כל הפונקציות הניתנות ל"דריסה"

מצאתי כאןדוגמת קוד שימושית המאפשרת לראות את כל הפונקציות (לא רק של ה core) הניתנות לדריסה
all themeable functions of a Drupal Installation. (Core functions and the themeable functions of enabled modules on your server).

<?php
 
print '<ol>';
 
$functions = get_defined_functions();
  foreach(
$functions['user'] as $function) {
   if(
substr($function,0,6)== 'theme_')
    print
"<li>$function</li>";
  }
  print
'</ol>';
?>