Elgg  Version 1.11
button.php File Reference

Go to the source code of this file.


if(isset($vars['class'])) else
 Create a input button. More...
switch($type$value = htmlentities($vars['value'], ENT_QUOTES, 'UTF-8')

Variable Documentation

switch ($type) $value = htmlentities($vars['value'], ENT_QUOTES, 'UTF-8')

Definition at line 37 of file button.php.

if (isset($vars['type'])) else
Initial value:
$class = "elgg-button-submit"
if(isset($vars['id'])) $class
Definition: ajax_loader.php:19

Create a input button.

$vars['value'] The current value, if any $vars['name'] The name of the input field $vars['type'] submit or button.

Definition at line 12 of file button.php.