PHP Class Gc\Component\Tabs

Datei anzeigen Open project: gotcms/gotcms Class Usage Examples

Protected Properties

Property Type Description
$data array Data stored

Public Methods

Method Description
__construct ( array $array = [] ) Tabs constructor
__toString ( ) : string Render tab
render ( array $tabs = null ) : string Render tab
setData ( array $array ) : Tabs Set data

Method Details

__construct() public method

Tabs constructor
public __construct ( array $array = [] )
$array array Data

__toString() public method

Render tab
public __toString ( ) : string
return string

render() public method

Render tab
public render ( array $tabs = null ) : string
$tabs array Contains objects
return string

setData() public method

Set data
public setData ( array $array ) : Tabs
$array array Data
return Tabs

Property Details

$data protected_oe property

Data stored
protected array $data
return array