public function SetEvent($objEvent) { parent::SetEvent($objEvent); $this->objEvent->Control->Attr('href', '#' . $this->strSelector); //$this->objEvent->Control->AddCssClass(MJaxApplication::CssClass(MJaxTouchCssClass::SUBMIT)); }
public function __construct($objPlugin) { $strRendered = $objPlugin->Render(false); //$strCommand = substr($strRendered, 0, strlen($strRendered) - 1); $strCommand = sprintf("function(){%s}", $strRendered); parent::__construct($strCommand); }