PHP 클래스 Prado\Web\UI\WebControls\TListItem
TListItem represents an item in a list control. Each item has a {@link setText Text}
property and a {@link setValue Value} property. If either one of them is not set,
it will take the value of the other property.
An item can be {@link setSelected Selected} or {@link setEnabled Enabled},
and it can have additional {@link getAttributes Attributes} which may be rendered
if the list control supports so.
파일 보기
프로젝트 열기: pradosoft/prado
1 사용 예제들
공개 메소드들
보호된 메소드들
메소드 |
설명 |
|
_getZappableSleepProps ( &$exprops ) |
Returns an array with the names of all variables of this object that should NOT be serialized
because their value is the default one or useless to be cached for the next page loads. |
|
메소드 상세
public __construct ( $text = '', $value = '', $enabled = true, $selected = false ) |
_getZappableSleepProps()
보호된 메소드
Reimplement in derived classes to add new variables, but remember to also to call the parent
implementation first.
public getAttributes ( ) : TAttributeCollection |
리턴 |
Prado\Collections\TAttributeCollection |
custom attributes |
getHasAttributes()
공개 메소드
Removes the named attribute.