Stud.IP
6.0
|
Public Member Functions | |
enter_seminar_action () | |
index_action ($topic_id=null, $page=null) | |
newest_action ($page=null) | |
latest_action ($page=null) | |
favorites_action ($page=null) | |
search_action ($page=null) | |
add_entry_action () | |
delete_entry_action ($topic_id) | |
update_entry_action ($topic_id) | |
move_thread_action ($thread_id, $destination) | |
set_favorite_action ($topic_id) | |
unset_favorite_action ($topic_id) | |
goto_page_action ($topic_id, $section, $page) | |
like_action ($topic_id) | |
dislike_action ($topic_id) | |
close_thread_action ($topic_id, $redirect, $page=0) | |
open_thread_action ($topic_id, $redirect, $page=0) | |
make_sticky_action ($topic_id, $redirect, $page=0) | |
make_unsticky_action ($topic_id, $redirect, $page=0) | |
add_category_action () | |
remove_category_action ($category_id) | |
edit_category_action ($category_id) | |
savecats_action () | |
abo_action ($topic_id) | |
remove_abo_action ($topic_id) | |
pdfexport_action ($parent_id=null) | |
rescue ($exception) | |
![]() | |
getId () | |
before_filter (&$action, &$args) | |
![]() | |
__construct (\Trails\Dispatcher $dispatcher) | |
before_filter (&$action, &$args) | |
injectResponse (Psr\Http\Message\ResponseInterface $response) | |
perform ($unconsumed_path) | |
after_filter ($action, $args) | |
validate_args (&$args, $types=null) | |
url_for ($to='') | |
link_for ($to='') | |
redirect ($to) | |
relocate ($to) | |
rescue ($exception) | |
render_json ($data) | |
render_csv ($data, $filename=null, $delimiter=';', $enclosure='"') | |
render_file (string $file, ?string $filename=null, ?string $content_type=null, string $content_disposition='attachment', ?Closure $callback=null) | |
render_temporary_file (string $file, ?string $filename=null, ?string $content_type=null, string $content_disposition='attachment', ?Closure $callback=null) | |
render_form (\Studip\Forms\Form $form) | |
render_vue_app (\Studip\VueApp $app) | |
relay ($to_uri) | |
relayWithRedirect (... $args) | |
perform_relayed ($unconsumed) | |
render_template ($template_name, $layout=null) | |
render_template_as_string ($template, $layout=null) | |
__call ($method, $arguments) | |
has_action ($action) | |
action_url ($action) | |
action_link ($action) | |
validate_datetime ($datetime, $format='H:i') | |
render_spreadsheet (array $header, array $data, string $format, string $filename, ?string $filepath=null) | |
![]() | |
__construct (Dispatcher $dispatcher) | |
erase_response () | |
get_response () | |
perform ($unconsumed) | |
extract_action_and_args ($string) | |
default_action_and_args () | |
map_action ($action) | |
before_filter (&$action, &$args) | |
after_filter ($action, $args) | |
does_not_understand ($action, $args) | |
redirect ($to) | |
render_text ($text=' ') | |
render_nothing () | |
render_action ($action) | |
get_default_template ($action) | |
render_template ($template_name, $layout=null) | |
get_template_factory () | |
get_assigned_variables () | |
set_layout ($layout) | |
url_for ($to) | |
set_status ($status, $reason_phrase=null) | |
set_content_type ($type) | |
rescue ($exception) | |
respond_to ($ext) | |
Additional Inherited Members | |
![]() | |
render_pdf (TCPDF $pdf, $filename, $inline=false) | |
controller_path () | |
getBodyElementIdForControllerAndAction ($unconsumed_path) | |
![]() | |
$with_session = true | |
![]() | |
$with_session = false | |
$allow_nobody = true | |
$_autobind = false | |
![]() | |
Dispatcher | $dispatcher |
Response | $response |
bool | $performed = false |
Template string null | $layout = null |
abo_action | ( | $topic_id | ) |
add_category_action | ( | ) |
Add submitted category to current course
add_entry_action | ( | ) |
Add a new entry. Has a simple spambot protection and checks the parent_id to add the entry to, throwing an exception if missing.
Exception |
close_thread_action | ( | $topic_id, | |
$redirect, | |||
$page = 0 |
|||
) |
This action is used to close a thread.
string | $topic_id | the topic which will be closed |
string | $redirect | the topic which will be shown after closing the thread |
int | $page | the page number of the topic $redirect |
delete_entry_action | ( | $topic_id | ) |
Delete the submitted entry.
string | $topic_id | the entry to delete |
dislike_action | ( | $topic_id | ) |
Remove like for the submitted topic
string | $topic_id | the topic to unlike |
edit_category_action | ( | $category_id | ) |
Change the name of the submitted category
string | $category_id | the category to edit |
enter_seminar_action | ( | ) |
redirect to correct page (overview or newest entries), depending on whether there are any entries.
favorites_action | ( | $page = null | ) |
show the current users favorized entries
int | $page | show entries on submitted page |
goto_page_action | ( | $topic_id, | |
$section, | |||
$page | |||
) |
Jump to page in the entries of the submitted parent-entry denoted by the submitted context (section)
string | $topic_id | the parent-topic to goto |
string | $section | the type of view (one of index/search) |
int | $page | the page to jump to |
index_action | ( | $topic_id = null , |
|
$page = null |
|||
) |
the main action for the forum. May be called with a topic_id to be displayed and optionally the page to display
type | $topic_id | the topic to display, defaults to the main view of the current seminar |
type | $page | the page to be displayed (for thread-view) |
latest_action | ( | $page = null | ) |
show all latest entries as flat list
int | $page | show entries on submitted page |
like_action | ( | $topic_id | ) |
Like the submitted topic
string | $topic_id | the topic to like |
make_sticky_action | ( | $topic_id, | |
$redirect, | |||
$page = 0 |
|||
) |
This action is used to mark a thread as sticky.
string | $topic_id | the topic which will be marked as sticky. |
string | $redirect | the topic which will be shown afterwards |
int | $page | the page number of the topic $redirect |
make_unsticky_action | ( | $topic_id, | |
$redirect, | |||
$page = 0 |
|||
) |
This action is used to remove the sticky attribute from a topic.
string | $topic_id | the topic which will be marked as unsticky. |
string | $redirect | the topic which will be shown afterwards |
int | $page | the page number of the topic $redirect |
move_thread_action | ( | $thread_id, | |
$destination | |||
) |
Move the submitted thread to the submitted parent
string | $thread_id | the thread to move |
string | $destination | the threads new parent |
newest_action | ( | $page = null | ) |
show newest entries
int | $page | show entries on submitted page |
open_thread_action | ( | $topic_id, | |
$redirect, | |||
$page = 0 |
|||
) |
This action is used to open a thread.
string | $topic_id | the topic which will be opened |
string | $redirect | the topic which will be shown after opening the thread |
int | $page | the page number of the topic $redirect |
pdfexport_action | ( | $parent_id = null | ) |
Generate a pdf-export for the whole forum or the passed subtree
string | $parent_id |
remove_abo_action | ( | $topic_id | ) |
Unsubscribe from the passed topic
string | $topic_id |
remove_category_action | ( | $category_id | ) |
rescue | ( | $exception | ) |
savecats_action | ( | ) |
Save the ordering of the categories
search_action | ( | $page = null | ) |
show search results
int | $page | show entries on submitted page |
set_favorite_action | ( | $topic_id | ) |
Mark the submitted entry as favorite
string | $topic_id | the entry to mark |
unset_favorite_action | ( | $topic_id | ) |
Remove the submtted entry as favorite
string | $topic_id | the entry to unmark |
update_entry_action | ( | $topic_id | ) |
Update the submitted entry.
string | $topic_id | id of the entry to update |
AccessDeniedException |