Beispiel #1
0
 /**
  *
  * @param string $id
  * @param string $caption
  * @param string $url 
  */
 public function __construct($id, $caption, $url)
 {
     $this->setUrl($url);
     $this->setId($id);
     $this->setMethod('POST');
     parent::__construct($id, $caption, $this->_getFunctionName() . '()');
 }
Beispiel #2
0
 /**
  *
  * @param string $id
  * @param string $caption
  * @param string $url 
  */
 public function __construct($id, $caption, $url)
 {
     $this->setUrl($url);
     $this->setId($id);
     $this->setMethod('GET');
     $this->setType('WINDOW');
     $this->setWindowHeight(450);
     $this->setWindowWidth(750);
     parent::__construct($id, $caption, $this->_getFunctionName() . '()');
 }
Beispiel #3
0
 public function __construct($id = null)
 {
     if ($id === null) {
         $id = 'idButton_' . rand(1, 9999999999);
     }
     parent::__construct($id);
     $this->setAttr('id', $id);
 }