Hook::callAll($a->module.'_mod_init', $placeholder);
Hook::callAll($a->module.'_mod_init', $placeholder);
Hook::callAll($a->module.'_mod_post', $_POST);
- Hook::callAll($a->module.'_mod_afterpost', $placeholder);
Hook::callAll($a->module.'_mod_content', $arr);
Hook::callAll($a->module.'_mod_aftercontent', $arr);
Hook::callAll('page_end', DI::page()['content']);
Hook::callAll($a->module.'_mod_init', $placeholder);
Hook::callAll($a->module.'_mod_init', $placeholder);
Hook::callAll($a->module.'_mod_post', $_POST);
- Hook::callAll($a->module.'_mod_afterpost', $placeholder);
Hook::callAll($a->module.'_mod_content', $arr);
Hook::callAll($a->module.'_mod_aftercontent', $arr);
Hook::callAll('page_end', DI::page()['content']);
$this->module_class->put();
}
- Core\Hook::callAll($this->module . '_mod_afterpost', $placeholder);
- $this->module_class->afterpost();
-
// "rawContent" is especially meant for technical endpoints.
// This endpoint doesn't need any theme initialization or other comparable stuff.
$this->module_class->rawContent();
$arr = ['content' => $content];
Hook::callAll($moduleClass->getClassName() . '_mod_content', $arr);
$content = $arr['content'];
- $arr = ['content' => $moduleClass->content()];
- Hook::callAll($moduleClass->getClassName() . '_mod_aftercontent', $arr);
- $content .= $arr['content'];
} catch (HTTPException $e) {
$content = (new ModuleHTTPException())->content($e);
}
// DI::baseurl()->redirect('module');
}
- /**
- * {@inheritDoc}
- */
- public function afterpost()
- {
- }
-
/**
* {@inheritDoc}
*/
*/
public function post();
- /**
- * Called after post()
- *
- * Unknown purpose
- */
- public function afterpost();
-
/**
* Module PUT method to process submitted data
*
$this->runModuleFunction('post');
}
- public function afterpost()
- {
- $this->runModuleFunction('afterpost');
- }
-
/**
* Runs the module function designated by the provided suffix if it exists, the BaseModule method otherwise
*