Example #1
0
 /**
  * Processes the input of the administration interface for Picture
  *
  * @return void
  */
 public function processAdminUI()
 {
     if ($this->DEPRECATEDisOwner(User::getCurrentUser()) || User::getCurrentUser()->DEPRECATEDisSuperAdmin()) {
         parent::processAdminUI();
         if ($this->configEnableHyperlink) {
             $this->setHyperlinkUrl($_REQUEST["pictures_{$this->getId()}_hyperlink_url"]);
         }
         if ($this->configEnableEditWidthHeight) {
             $this->setWidth(intval($_REQUEST["pictures_{$this->getId()}_width"]));
             $this->setHeight(intval($_REQUEST["pictures_{$this->getId()}_height"]));
         }
     }
 }