Esempio n. 1
0
 function postContent()
 {
     $this->gatekeeper();
     $new = false;
     if (!empty($this->arguments)) {
         $object = \IdnoPlugins\Checkin\Checkin::getByID($this->arguments[0]);
     }
     if (empty($object)) {
         $object = new \IdnoPlugins\Checkin\Checkin();
     }
     if ($object->saveDataFromInput($this)) {
         $this->forward($object->getURL());
     }
 }
Esempio n. 2
0
 function postContent()
 {
     $this->createGatekeeper();
     $new = false;
     if (!empty($this->arguments)) {
         $object = \IdnoPlugins\Checkin\Checkin::getByID($this->arguments[0]);
     }
     if (empty($object)) {
         $object = new \IdnoPlugins\Checkin\Checkin();
     }
     if ($object->saveDataFromInput($this)) {
         //$this->forward(\Idno\Core\site()->config()->getURL() . 'content/all/#feed');
         $this->forward($object->getURL());
     }
 }
Esempio n. 3
0
 function postContent()
 {
     $this->createGatekeeper();
     $new = false;
     if (!empty($this->arguments)) {
         $object = \IdnoPlugins\Checkin\Checkin::getByID($this->arguments[0]);
     }
     if (empty($object)) {
         $object = new \IdnoPlugins\Checkin\Checkin();
     }
     if ($object->saveDataFromInput()) {
         $forward = $this->getInput('forward-to', $object->getDisplayURL());
         $this->forward($forward);
     }
 }