Class Controller

Interface ApplicationAwareInterface This interface declares awareness of the concrete5 application.

Concrete\Core\Controller\AbstractController implements Concrete\Core\Application\ApplicationAwareInterface
Extended by Concrete\Core\Attribute\Controller
Extended by Concrete\Attribute\Select\Controller
Namespace: Concrete\Attribute\Select
Package: Concrete\Core\Application
Located at attributes/select/controller.php

Methods summary

public
protected
# load( )
public
public
public
public
public
public
public
public
# setOptions( $options )
public
public
# form( )
public
public
public
# saveForm( $data )
public
# saveValue( $value )
public
public
public
public
# validateForm( $p )
public
# searchForm( $list )
public
# getValue( )
public
public
public
# action_load_autocomplete_selected_value( )

Used by select2. Automatically takes a value request and converts it into tag/text key value pairs. New options are just text/tag, whereas existing ones are SelectAttributeOption:ID/text

public
public
# getOptionUsageArray( $parentPage = false, $limit = 9999 )
public
public SelectAttributeTypeOptionList
# getOptions( string $like = null )

Returns a list of available options optionally filtered by an sql $like statement ex: startswith%.

public
public
# getAllowMultipleValues( )

Convenience methods to retrieve a select attribute key's settings.

public
public

Properties summary

protected array $searchIndexFieldDefinition
# array( 'type' => 'string', 'options' => array('default' => null, 'notnull' => false) )