This is the API documentation for concrete5 version 5.6 and earlier. View Current API Documentation

Class Concrete5_Model_SelectAttributeTypeOption

Concrete5_Library_Object
Extended by Object
Extended by Concrete5_Model_SelectAttributeTypeOption

Direct known subclasses

SelectAttributeTypeOption

Methods summary

public
# __construct( $ID, $value, $displayOrder, $usageCount = false )
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 )

Properties summary

Properties inherited from Concrete5_Library_Object

$error