PHP Class common\ModuleExtraType

Show file Open project: forkcms/forkcms Class Usage Examples

Public Methods

Method Description
__construct ( string $type )
__toString ( ) : string
block ( ) : self
getPossibleTypes ( ) : array
homepage ( ) : self
widget ( ) : self

Method Details

__construct() public method

public __construct ( string $type )
$type string

__toString() public method

public __toString ( ) : string
return string

block() public static method

public static block ( ) : self
return self

getPossibleTypes() public static method

public static getPossibleTypes ( ) : array
return array

homepage() public static method

public static homepage ( ) : self
return self

widget() public static method

public static widget ( ) : self
return self