📄 testwidget.php
字号:
<?phprequire_once('class.Widget.php'); try { $objWidget = new Widget(1); print "Widget Name: " . $objWidget->getName() . "<br>\n"; print "Widget Description: " . $objWidget->getDescription() . "<br>\n"; $objWidget->setName('Bar'); $objWidget->setDescription('This is a bartacular widget!'); } catch (Exception $e) { die("There was a problem: " . $e->getMessage()); }?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -