public function onBeforeWrite()
 {
     parent::onBeforeWrite();
     if (isset($_POST['LinkExternalUrl'])) {
         $this->LinkExternalUrl = $_POST['LinkExternalUrl'];
     }
     if (isset($_POST['InternalUrlID'])) {
         $this->InternalUrlID = $_POST['InternalUrlID'];
     }
 }
Exemple #2
0
 public function onBeforeWrite()
 {
     parent::onBeforeWrite();
 }