noalyss  Version-6.7.2
Public Member Functions | Static Public Member Functions
ISpan Class Reference
Inheritance diagram for ISpan:
HtmlInput

Public Member Functions

 __construct ($p_name="", $p_value="")
 input ($p_name=null, $p_value=null)
 show the html input of the widget, the span is always readonly

Static Public Member Functions

static test_me ()

Detailed Description

Definition at line 26 of file class_ispan.php.


Constructor & Destructor Documentation

ISpan::__construct ( p_name = "",
p_value = "" 
)

Definition at line 28 of file class_ispan.php.

References style.

    {
        parent::__construct($p_name,$p_value);
        $this->style="display:inline";

    }

Member Function Documentation

ISpan::input ( p_name = null,
p_value = null 
)

show the html input of the widget, the span is always readonly

Definition at line 35 of file class_ispan.php.

References $r, name, style, and value.

    {
        $this->name=($p_name==null)?$this->name:$p_name;
        $this->value=($p_value==null)?$this->value:$p_value;


        $r=sprintf('<span style="%s" id="%s">%s </span>',
                   $this->style,
                   $this->name,
                   $this->value
                  );

        return $r;
    }
static ISpan::test_me ( ) [static]

Definition at line 50 of file class_ispan.php.

    {
    }

The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations