Member Function Documentation
| addToInfobox |
( |
|
$category, |
|
|
|
$text, |
|
|
|
$icon = 'blank.gif' |
|
) |
| |
Adds an item to a certain category section of the infobox. Categories are created in the order this method is invoked. Multiple occurences of a category will add items to the category.
- Parameters
-
| String | $category | The item's category title used as the header above displayed category - write spoken not tech language ^^ |
| String | $text | The content of the item, may contain html |
| String | $icon | Icon to display in front the item, path is relative to :assets:/images |
- Since
- Stud.IP 2.3
| before_filter |
( |
& |
$action, |
|
|
& |
$args |
|
) |
| |
Reimplemented in Course_ScmController, Document_DownloadController, Admin_Cronjobs_SchedulesController, Admin_Cronjobs_LogsController, Admin_Cronjobs_TasksController, Calendar_ScheduleController, Document_FilesController, ScoreController, Admin_DatafieldsController, ProfileModulesController, Course_StudygroupController, Admin_AutoinsertController, MyCoursesController, NewsController, ElearningController, Admin_CoursesController, AuthenticatedController, ProfileController, Admin_ConfigurationController, Admin_StudycourseController, Admin_UserController, Course_EnrolmentController, JsupdaterController, LiteratureController, Settings_NotificationController, TourController, Course_MembersController, Settings_SettingsController, SmileysController, Admin_SpecificationController, Course_ElearningController, Course_LiteratureController, Settings_DetailsController, Settings_PasswordController, Admission_CoursesetController, Course_ChangeViewController, Document_FolderController, Settings_CalendarController, Admin_DomainController, Admin_PluginController, OnlineController, PublicCoursesController, Resources_HelpersController, Settings_AccountController, Settings_AvatarController, Settings_CategoriesController, Settings_DeputiesController, Settings_GeneralController, Settings_PrivacyController, Settings_StatusgruppenController, Settings_UserdomainsController, StartController, Admin_SmileysController, Admission_RuleAdministrationController, Course_StudyAreasController, EventLogController, Settings_StudiesController, SiteinfoController, Admin_RoleController, Admin_SemesterController, Admission_RuleController, Admission_UserListController, Course_DetailsController, Course_RoomRequestsController, Userfilter_FieldController, Userfilter_FilterController, Admin_AdditionalController, Admin_LockrulesController, Admin_WebserviceAccessController, Admission_RestrictedCoursesController, Course_AdmissionController, Course_AvatarController, Course_CancelDatesController, Course_ManagementController, Course_OverviewController, Institute_AvatarController, Institute_MembersController, Admin_BannerController, Course_BlockAppointmentsController, StudygroupController, Admin_StatusgroupsController, PluginController, TermineController, iCalController, Institute_OverviewController, MessagesController, Settings_MessagingController, Document_ClosedController, Search_CoursesController, BbController, Document_AdministrationController, Admin_SemClassesController, Api_AuthorizationsController, Api_OauthController, Admin_ApiController, ContentElementController, Course_DatesController, DocumentController, Course_TopicsController, MyInstitutesController, MyStudygroupsController, Admin_DbIntegrityCheckController, and FolderController.
Returns an escaped URL to a specified route to your Trails application. without first parameter the current action is used if route begins with a / then the current controller ist prepended if second parameter is an array it is passed to URLHeper
- Parameters
-
| string | a string containing a controller and optionally an action |
| strings | optional arguments |
- Returns
- string a URL to this route
| perform_relayed |
( |
|
$unconsumed | ) |
|
perform a given action/parameter string from an relayed request before_filter and after_filter methods are not called
- See Also
- perform
- Parameters
-
- Returns
- Trails_Response
relays current request to another controller and returns the response the other controller is given all assigned properties, additional parameters are passed through
- Parameters
-
| string | $to_uri | a trails route |
- Returns
- Trails_Response
| render_template_as_string |
( |
|
$template, |
|
|
|
$layout = null |
|
) |
| |
Exception handler called when the performance of an action raises an exception.
- Parameters
-
| object | the thrown exception |
| setInfoBoxImage |
( |
|
$image | ) |
|
Sets the header image for the infobox.
- Parameters
-
| String | $image | Image to display, path is relative to :assets:/images |
- Since
- Stud.IP 2.3
Returns a URL to a specified route to your Trails application. without first parameter the current action is used if route begins with a / then the current controller ist prepended if second parameter is an array it is passed to URLHeper
- Parameters
-
| string | a string containing a controller and optionally an action |
| strings | optional arguments |
- Returns
- string a URL to this route
Reimplemented in Settings_SettingsController, and Admin_DbIntegrityCheckController.
| validate_args |
( |
& |
$args, |
|
|
|
$types = NULL |
|
) |
| |
Validate arguments based on a list of given types. The types are: 'int', 'float', 'option' and 'string'. If the list of types is NULL or shorter than the argument list, 'option' is assumed for all remaining arguments. 'option' differs from Request::option() in that it also accepts the charaters '-' and ',' in addition to all word charaters.
- Parameters
-
| array | an array of arguments to the action |
| array | list of argument types (optional) |
The documentation for this class was generated from the following file: