summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/tickets/protected/pages/Ticket698.php
blob: 507cefbb074ec256e57d9c81a0c3747369c83f0c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<?php

prado::using ('System.Web.UI.ActiveControls.*');

class Ticket698 extends TPage
{
	public function switchContentTypeClicked( $sender, $param ) {
		$this->EditHtmlTextBox->EnableVisualEdit = !$this->EditHtmlTextBox->EnableVisualEdit;
	}
	
	public function switchContentTypeCallback( $sender, $param ) {
		$this->ContentPanel->render( $param->NewWriter );	
	}
}