Warning: is_executable(): open_basedir restriction in effect. File(/bin/bash) is not within the allowed path(s): (/var/www/clients/client1/web4/web:/var/www/clients/client1/web4/tmp:/var/www/modified-shop.org/web:/srv/www/modified-shop.org/web:/usr/share/php5:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin) in /var/www/clients/client1/web4/web/xtcmodified/main/mediawiki/includes/shell/Command.php on line 312

Warning: is_executable(): open_basedir restriction in effect. File(/bin/bash) is not within the allowed path(s): (/var/www/clients/client1/web4/web:/var/www/clients/client1/web4/tmp:/var/www/modified-shop.org/web:/srv/www/modified-shop.org/web:/usr/share/php5:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin) in /var/www/clients/client1/web4/web/xtcmodified/main/mediawiki/includes/shell/Command.php on line 312

Warning: is_executable(): open_basedir restriction in effect. File(/bin/bash) is not within the allowed path(s): (/var/www/clients/client1/web4/web:/var/www/clients/client1/web4/tmp:/var/www/modified-shop.org/web:/srv/www/modified-shop.org/web:/usr/share/php5:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin) in /var/www/clients/client1/web4/web/xtcmodified/main/mediawiki/includes/shell/Command.php on line 312

Warning: is_executable(): open_basedir restriction in effect. File(/bin/bash) is not within the allowed path(s): (/var/www/clients/client1/web4/web:/var/www/clients/client1/web4/tmp:/var/www/modified-shop.org/web:/srv/www/modified-shop.org/web:/usr/share/php5:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin) in /var/www/clients/client1/web4/web/xtcmodified/main/mediawiki/includes/shell/Command.php on line 312
Xtc draw input field() – Wiki | modified eCommerce Shopsoftware

Xtc draw input field()

Aus Wiki | modified eCommerce Shopsoftware

function xtc_draw_input_field($name, $value = , $parameters = , $type = 'text', $reinsert_value = true)[Bearbeiten]

Generiert HTML Input-Tag

Parameter
$name string name-Parameter
$value string, optional value-Parameter, default leer
$parameters string, optional weitere HTML Parameter, default leer
$type string, optional type-Parameter, default:"text"
$reinsert_value bool, optional Defaultwert automatisch eintragen, default:true *
Return string HTML-Element

$reinsert_value[Bearbeiten]

Ist reinsert_value true gesetzt, wird im globalen Namensraum nach einer Variable des Namens aus $value gesucht. Ist diese vorhanden, wird diese für 'value' vorbelegt.

Beispiel 1, reinsert_value=true und keine globale Variable vorhanden:

  xtc_draw_input_field('vorname', 'Bitte Eintragen', '', 'text', true);

Rückgabe:

 <input type="text" name="vorname" value="Bitte Eintragen" />


Beispiel 2, reinsert_value=true und globale Variable vorhanden:

  $vorname = 'Herbert';
  xtc_draw_input_field('vorname', 'Bitte Eintragen', '', 'text', true);

Rückgabe:

 <input type="text" name="vorname" value="Herbert" />






Verwandte Funktionen:
xtc_draw_box_content_bullet()
xtc_draw_box_contents()
xtc_draw_box_heading()
xtc_draw_checkbox_field()
xtc_draw_checkbox_field_installer()
xtc_draw_form()
xtc_draw_hidden_field()
xtc_draw_hidden_field_installer()
xtc_draw_input_field()
xtc_draw_input_field_installer()
xtc_draw_password_field()
xtc_draw_password_field_installer()
xtc_draw_pull_down_menu()
xtc_draw_radio_field()
xtc_draw_radio_field_installer()
xtc_draw_selection_field()
xtc_draw_selection_field_installer()
xtc_draw_separator()
xtc_draw_textarea_field()

  • Diese Seite wurde zuletzt am 8. Oktober 2009 um 16:56 Uhr bearbeitet.