Beispiel #1
0
 public function __construct($method = 'post', $action = '', $name = '')
 {
     parent::__construct();
     $this->csfrCheckName = Hash::r();
     $this->csfrCheckValue = Hash::r3();
     $this->action = $action;
     $this->method = $method;
     $this->formData[] = '<form method="' . $this->method . '" action="' . $this->action . '" name="' . $name . '">';
     $this->formData[] = '<input type="hidden" name="' . $this->csfrCheckName . '" value="' . $this->csfrCheckValue . '">';
     $this->select = NULL;
 }