Class Option

Concrete\Core\Foundation\Object
Extended by Concrete\Attribute\Select\Option

Methods summary

public
# __construct( $ID, $value, $displayOrder, $usageCount = false, $akID = null )
public
public
public
public
# getSelectAttributeOptionValue( $sanitize = true )
public string
# getSelectAttributeOptionDisplayValue( string $format = 'html' )

Returns the display name for this select option value (localized and escaped accordingly to $format)

public
public
public
public static
# add( $ak, $option, $isEndUserAdded = 0 )
public
# setDisplayOrder( $num )
public static
# getByID( $id )
public static
# getByValue( $value, $ak = false )
public
# delete( )
public
# saveOrCreate( $ak )
public static

Properties summary

Properties inherited from Concrete\Core\Foundation\Object

$error