public function getId()
    {
        return (strpos($this->__id, "[]") !== false) ? str_replace("[]", "", $this->__id) : $this->__id;
    }
public function getId()
    {
        return (strpos($this->__id, "[]") !== false) ? str_replace("[]", "", $this->__id) : $this->__id;
    }
public function getId ( ) { return ( strpos ( $ this -> __id , "[]" ) !== false ) ? str_replace ( "[]" , "" , $ this -> __id ) : $ this -> __id ; }
Get element's ID

This automatically strips off the [] from a checkbox ID

@return string The element's ID
Get element s ID