PHP 인터페이스 Elgg\Views\TableColumn

파일 보기 프로젝트 열기: elgg/elgg

공개 메소드들

메소드 설명
renderCell ( mixed $item, string $type, array $item_vars ) : string Render a value cell as HTML. Cell will be auto-wrapped with a TD element if the returned string doesn't begin with "
renderHeading ( ) : string Get the rendered heading cell as HTML. Cell will be auto-wrapped with a TH element if the returned string doesn't begin with "

메소드 상세

renderCell() 공개 메소드

Render a value cell as HTML. Cell will be auto-wrapped with a TD element if the returned string doesn't begin with "
". You must filter/escape any user content.
public renderCell ( mixed $item, string $type, array $item_vars ) : string
$item mixed Object/row from which to pull the value
$type string Type of object
$item_vars array Parameters from the listing function
리턴 string e.g. "My Great Title" or "My Great Title

renderHeading() 공개 메소드

Get the rendered heading cell as HTML. Cell will be auto-wrapped with a TH element if the returned string doesn't begin with "
". You must filter/escape any user content.
public renderHeading ( ) : string
리턴 string e.g. "Title" or "Title