Template file: Home.page
Class file: Home.php

/Controls/Samples/TBulletedList/Home.php

<?php

class Home extends TPage
{
	public function buttonClicked($sender,$param)
	{
		$item=$sender->Items[$param->Index];
		$this->Result->Text="You clicked $item->Text : $item->Value.";
	}
}