name('field'); $text->value=$p_res[$i]['pvalue']; $text->set_attribute('gDossier',Dossier::id()); $text->set_attribute('jrn',0); $text->set_attribute('account','field'); \endcode */ class IPoste extends HtmlInput { function __construct($p_name="",$p_value="",$p_id="") { $this->name=$p_name; $this->readOnly=false; $this->size=10; $this->value=$p_value; $this->selected=""; $this->table=0; $this->disabled=false; $this->javascript=""; $this->extra2="all"; $this->attribute=array(); $this->id=$p_id; } static function ipopup($p_name) { $ip=new IPopup($p_name); $ip->title='Plan comptable'; $ip->value=''; $ip->set_height('80%'); $ip->set_zindex(20); return $ip->input(); } /*!\brief create the javascript for adding the javascript properties * onto the *button* *\return a javascript surrounded by the tag