FOSSology  4.4.0
Open Source License Compliance by Open Source Software
Fossology\UI\Page\HomePage Class Reference

about page on UI More...

Inheritance diagram for Fossology\UI\Page\HomePage:
Inheritance graph
Collaboration diagram for Fossology\UI\Page\HomePage:
Collaboration graph

Public Attributes

const NAME = "home"
 
- Public Attributes inherited from Fossology\Lib\Plugin\DefaultPlugin
const PERMISSION = "permission"
 
const REQUIRES_LOGIN = "requiresLogin"
 
const ENABLE_MENU = "ENABLE_MENU"
 
const LEVEL = "level"
 
const DEPENDENCIES = "dependencies"
 
const INIT_ORDER = "initOrder"
 
const MENU_LIST = "menuList"
 
const MENU_ORDER = "menuOrder"
 
const MENU_TARGET = "menuTarget"
 
const TITLE = "title"
 

Protected Member Functions

 handle (Request $request)
 
- Protected Member Functions inherited from Fossology\Lib\Plugin\DefaultPlugin
 RegisterMenus ()
 Customize submenus.
 
 render ($templateName, $vars=null, $headers=null)
 
 getDefaultHeaders ()
 
 getDefaultVars ()
 
 mergeWithDefault ($vars)
 
 flushContent ($content)
 

Private Member Functions

 getEmailFromOAuth ()
 
 getEmailFromResource ($provider, $accessToken)
 

Additional Inherited Members

- Public Member Functions inherited from Fossology\Lib\Plugin\DefaultPlugin
 __construct ($name, $parameters=array())
 
 getName ()
 
 getVersion ()
 
 getTitle ()
 
 isRequiresLogin ()
 
 getDependency ()
 
 getPluginLevel ()
 
 getDBaccess ()
 
 getState ()
 
 getInitOrder ()
 
 getNoMenu ()
 
 getResponse ()
 
 getObject ($name)
 
 preInstall ()
 
 postInstall ()
 
 unInstall ()
 
 execute ()
 
 isLoggedIn ()
 
 __get ($name)
 
 __toString ()
 
- Protected Attributes inherited from Fossology\Lib\Plugin\DefaultPlugin
 $container
 
 $renderer
 
 $microMenu
 

Detailed Description

about page on UI

Definition at line 23 of file HomePage.php.

Member Function Documentation

◆ getEmailFromOAuth()

Fossology\UI\Page\HomePage::getEmailFromOAuth ( )
private

Get the email from the OAuth2 server.

Exceptions

Definition at line 105 of file HomePage.php.

◆ getEmailFromResource()

Fossology\UI\Page\HomePage::getEmailFromResource (   $provider,
  $accessToken 
)
private

Get the email information from the resource server.

Parameters
GenericProvider$provider
AccessToken$accessToken
Returns
string|NULL

Definition at line 194 of file HomePage.php.

◆ handle()

Fossology\UI\Page\HomePage::handle ( Request  $request)
protected
Parameters
Request$request
Returns
Response

Reimplemented from Fossology\Lib\Plugin\DefaultPlugin.

Definition at line 41 of file HomePage.php.


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