Beispiel #1
0
 /**
  * Determines whether the current request is a postback.
  * This method should only be used by framework developers.
  */
 public function determinePostBackMode()
 {
     if (!is_null($this->masterPage)) {
         $this->masterPage->determinePostBackMode();
     }
     $this->isPostBack = isset($_REQUEST[self::INPUT_VIEWSTATE]);
     if ($this->isPostBack) {
         if (isset($_REQUEST[self::INPUT_EVENTPARAMETER])) {
             $this->postBackParameter = $_REQUEST[self::INPUT_EVENTPARAMETER];
         }
         if (isset($_REQUEST[self::INPUT_EVENTTARGET])) {
             $this->postBackTarget = $_REQUEST[self::INPUT_EVENTTARGET];
         }
     }
 }