summaryrefslogtreecommitdiff
path: root/public/app/models
diff options
context:
space:
mode:
Diffstat (limited to 'public/app/models')
-rw-r--r--public/app/models/_info.md25
1 files changed, 24 insertions, 1 deletions
diff --git a/public/app/models/_info.md b/public/app/models/_info.md
index 401c13c..82143bf 100644
--- a/public/app/models/_info.md
+++ b/public/app/models/_info.md
@@ -45,7 +45,6 @@ active) VALUES (:id,
:active )
-
UPDATE user
SET prefix = :prefix,
first_name = :first_name,
@@ -127,3 +126,27 @@ admin/iinvite
+
+
+# callable/dynamic select options
+
+
+<?php
+
+class myclass {
+ static function say_hello()
+ {
+ echo "Hello!\n";
+ }
+}
+
+$classname = "myclass";
+
+call_user_func(array($classname, 'say_hello'));
+call_user_func($classname .'::say_hello');
+
+$myobject = new myclass();
+
+call_user_func(array($myobject, 'say_hello'));
+
+?>