Server IP : 103.118.17.23 / Your IP : 216.73.216.160 Web Server : Microsoft-IIS/10.0 System : Windows NT RESELLERPLESK22 10.0 build 20348 (Windows Server 2016) AMD64 User : IWAM_plesk(default) ( 0) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : E:/Inetpub/vhosts/mesa.org.in/httpdocs/assets/_core/php/examples/other_controls/ |
Upload File : |
<?php require_once('../qcubed.inc.php'); class ExampleForm extends QForm { protected $ctlCustom; protected function Form_Create() { // Get the Custom Control $this->ctlCustom = new QSampleControl($this); // Note that custom controls can act just like regular controls, // complete with events and attributes $this->ctlCustom->Foo = 'Click on me!'; $this->ctlCustom->AddAction(new QClickEvent(), new QAlertAction('Hello, world!')); } } // And now run our defined form ExampleForm::Run('ExampleForm'); ?>