aboutsummaryrefslogtreecommitdiffstats
path: root/MainView.php
diff options
context:
space:
mode:
authorFilipp Lepalaan <filipp@mac.com>2010-06-27 11:40:53 +0300
committerFilipp Lepalaan <filipp@mac.com>2010-06-27 11:40:53 +0300
commit677d2f066d66a360ebfb367d4521926ad14d5480 (patch)
tree58887b604a289423d61b925468883a97ef965059 /MainView.php
parent63fcc0deec2f821104ea1d16378b392cf1650b6e (diff)
downloadmain-677d2f066d66a360ebfb367d4521926ad14d5480.tar.gz
main-677d2f066d66a360ebfb367d4521926ad14d5480.tar.bz2
main-677d2f066d66a360ebfb367d4521926ad14d5480.zip
some fixes
Diffstat (limited to 'MainView.php')
-rw-r--r--MainView.php16
1 files changed, 10 insertions, 6 deletions
diff --git a/MainView.php b/MainView.php
index 038ccf7..2e5ad0c 100644
--- a/MainView.php
+++ b/MainView.php
@@ -14,12 +14,11 @@ class MainView
include $base.'/'.$path;
}
- /**
- * Create HTML <select> options from array
- * @param array array
- * @param mixed select option with this value
- * @return string
- */
+ ////
+ // create HTML <select> options from array
+ // @param array array
+ // @param mixed select option with this value
+ // @return string
function select($array, $current = null)
{
$out = '';
@@ -33,6 +32,11 @@ class MainView
}
+ function input($params)
+ {
+ return $this->tag('input', $params);
+ }
+
function tag($name, $args = '', $content = '', $selected = '')
{
$str_args = '';