PHP Class Apple_Exporter\Settings

Mostra file Open project: alleyinteractive/apple-news Class Usage Examples

Public Methods

Method Description
alignment_offset ( ) : string When a component is displayed aligned relative to another one, slide the other component a few columns. This varies for centered and non-centered layouts, as centered layouts have more columns.
all ( ) : array Get all settings.
body_column_span ( ) : string Get the body column span.
get ( string $name ) : mixed Get a setting.
layout_columns ( ) : string Get the layout columns.
layout_width ( ) : string Get the layout width.
set ( string $name, mixed $value ) : mixed Set a setting.

Method Details

alignment_offset() public method

When a component is displayed aligned relative to another one, slide the other component a few columns. This varies for centered and non-centered layouts, as centered layouts have more columns.
Since: 0.4.0
public alignment_offset ( ) : string
return string

all() public method

Get all settings.
public all ( ) : array
return array

body_column_span() public method

Get the body column span.
public body_column_span ( ) : string
return string

get() public method

Get a setting.
public get ( string $name ) : mixed
$name string
return mixed

layout_columns() public method

Get the layout columns.
public layout_columns ( ) : string
return string

layout_width() public method

Get the layout width.
public layout_width ( ) : string
return string

set() public method

Set a setting.
public set ( string $name, mixed $value ) : mixed
$name string
$value mixed
return mixed