PHP 클래스 FOF30\Form\Field\GenericList

상속: extends JFormFieldList, implements FOF30\Form\FieldInterface
파일 보기 프로젝트 열기: akeeba/fof 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$item FOF30\Model\DataModel The item being rendered in a repeatable form field
$rowid integer A monotonically increasing number, denoting the row number in a repeatable view

보호된 프로퍼티들

프로퍼티 타입 설명
$form FOF30\Form\Form The Form object of the form attached to the form field.
$repeatable Repeatable field output
$static Static field output

공개 메소드들

메소드 설명
__get ( string $name ) : mixed Method to get certain otherwise inaccessible properties from the form field object.
getOptionName ( array $data, mixed $selected = null, string $optKey = 'value', string $optText = 'text', boolean $selectFirst = true ) : mixed Gets the active option's label given an array of JHtml options
getRepeatable ( ) : string Get the rendering of this field type for a repeatable (grid) display, e.g. in a view listing many item (typically a "browse" task)
getStatic ( ) : string Get the rendering of this field type for static display, e.g. in a single item view (typically a "read" task).

보호된 메소드들

메소드 설명
getOptions ( ) : array Method to get the field options.
parseFieldTags ( string $text ) : string Replace string with tags that reference fields

메소드 상세

__get() 공개 메소드

Method to get certain otherwise inaccessible properties from the form field object.
부터: 2.0
public __get ( string $name ) : mixed
$name string The property name for which to the the value.
리턴 mixed The property value or null.

getOptionName() 공개 정적인 메소드

Gets the active option's label given an array of JHtml options
public static getOptionName ( array $data, mixed $selected = null, string $optKey = 'value', string $optText = 'text', boolean $selectFirst = true ) : mixed
$data array The JHtml options to parse
$selected mixed The currently selected value
$optKey string Key name
$optText string Value name
$selectFirst boolean Should I automatically select the first option?
리턴 mixed The label of the currently selected option

getOptions() 보호된 메소드

Ordering is disabled by default. You can enable ordering by setting the 'order' element in your form field. The other order values are optional. - order What to order. Possible values: 'name' or 'value' (default = false) - order_dir Order direction. Possible values: 'asc' = Ascending or 'desc' = Descending (default = 'asc') - order_case_sensitive Order case sensitive. Possible values: 'true' or 'false' (default = false)
protected getOptions ( ) : array
리턴 array The field option objects.

getRepeatable() 공개 메소드

Get the rendering of this field type for a repeatable (grid) display, e.g. in a view listing many item (typically a "browse" task)
부터: 2.0
public getRepeatable ( ) : string
리턴 string The field HTML

getStatic() 공개 메소드

Get the rendering of this field type for static display, e.g. in a single item view (typically a "read" task).
부터: 2.0
public getStatic ( ) : string
리턴 string The field HTML

parseFieldTags() 보호된 메소드

Replace string with tags that reference fields
protected parseFieldTags ( string $text ) : string
$text string Text to process
리턴 string Text with tags replace

프로퍼티 상세

$form 보호되어 있는 프로퍼티

The Form object of the form attached to the form field.
protected Form,FOF30\Form $form
리턴 FOF30\Form\Form

$item 공개적으로 프로퍼티

The item being rendered in a repeatable form field
public DataModel,FOF30\Model $item
리턴 FOF30\Model\DataModel

$repeatable 보호되어 있는 프로퍼티

Repeatable field output
protected $repeatable

$rowid 공개적으로 프로퍼티

A monotonically increasing number, denoting the row number in a repeatable view
public int $rowid
리턴 integer

$static 보호되어 있는 프로퍼티

Static field output
protected $static