Stud.IP  2.0 Revision 48548
 All Data Structures Namespaces Files Functions Variables Pages
AbstractStudIPPortalPlugin Class Reference
Inheritance diagram for AbstractStudIPPortalPlugin:
Inheritance graph
Collaboration diagram for AbstractStudIPPortalPlugin:
Collaboration graph

Public Member Functions

 AbstractStudIPPortalPlugin ()
 showOverview ($unauthorizedview=true)
 hasAdministration ()
 hasUnauthorizedView ()
 hasAuthorizedView ()
 getPortalTemplate ()
- Public Member Functions inherited from AbstractStudIPLegacyPlugin
 __construct ()
 activatePlugin ()
 deactivatePlugin ()
 getAdminLink ()
 getBasepluginpath ()
 getDisplaytitle ()
 getNavigation ()
 getNavigationPosition ()
 getPluginclassname ()
 getPluginiconname ()
 getPluginName ()
 getUser ()
 hasNavigation ()
 isDependentOnOtherPlugin ()
 setActivated ($value)
 setBasepluginpath ($path)
 setDependentOnOtherPlugin ($dependentplugin=true)
 setNavigation (StudipPluginNavigation $navigation)
 setNavigationPosition ($pos)
 setPluginiconname ($icon)
 setPluginId ($id)
 setPluginName ($name)
 setPluginPath ($path)
 setUser (StudIPUser $user)
 actionShow ($param=NULL)
 show ($param=NULL)
 perform ($unconsumed_path)
 route ($unconsumed_path)
 display_action ($action)
- Public Member Functions inherited from StudIPPlugin
 getPluginId ()
 getPluginPath ()
 getPluginURL ()
 isActivated ($context=NULL)
 deactivationWarning ($context)

Additional Inherited Members

- Data Fields inherited from AbstractStudIPLegacyPlugin
 $pluginid
 $pluginname
 $pluginpath
 $basepluginpath
 $navposition
 $dependentonplugin
 $navigation
 $pluginiconname
 $user
- Protected Attributes inherited from StudIPPlugin
 $plugin_info

Member Function Documentation

Here is the call graph for this function:

getPortalTemplate ( )

Return a template (an instance of the Flexi_Template class) to be rendered on the start or portal page. Return NULL to render nothing for this plugin.

The template will automatically get a standard layout, which can be configured via attributes set on the template:

$title title to display, defaults to plugin name $icon_url icon for this plugin (if any) $admin_url admin link for this plugin (if any)

Returns
object template object to render or NULL

Implements PortalPlugin.

Here is the call graph for this function:

hasAdministration ( )

Does this plugin have an administration page, which should be shown? This default implementation only shows it for admin or root user.

Deprecated:

Here is the caller graph for this function:

hasAuthorizedView ( )

Does the plugin have a view for a currently logged in user?

Deprecated:

Here is the caller graph for this function:

hasUnauthorizedView ( )

Does the plugin have a view for a user not currently logged in?

Deprecated:

Here is the caller graph for this function:

showOverview (   $unauthorizedview = true)

Used to show an overview on the start page or portal page

Deprecated:
Parameters
isthe user already logged in?

Here is the caller graph for this function:


The documentation for this class was generated from the following file: