View to edit an article.
- Depuis
- 1.6
HTML Article View class for the Content component
- Depuis
- 1.5
Execute and display a template script.
- Paramètres
-
string | $tpl | The name of the template file to parse; automatically searches through the template paths. |
- Renvoie
- mixed A string if successful, otherwise an Error object.
Check for no 'access-view' and empty fulltext,
- Redirect guest users to login
- Deny access to logged users with 403 code NOTE: we do not recheck for no access-view + show_noauth disabled ... since it was checked above
NOTE: The following code (usually) sets the text to contain the fulltext, but it is the responsibility of the layout to check 'access-view' and only use "introtext" for guests
Références $active, $app, $dispatcher, $item, $layout, $offset, $params, $results, $return, $user, ContentHelperAssociation\displayAssociations(), elseif, ContentHelperRoute\getArticleRoute(), JEventDispatcher\getInstance(), htmlspecialchars, if, item, null, pageclass_sfx, et JError\raiseWarning().