opt
/
cpanel
/
ea-wappspector
/
vendor
/
squizlabs
/
php_codesniffer
/
src
/
Standards
/
MySource
/
Tests
/
Channels
➕ New
📤 Upload
✎ Editing:
DisallowSelfActionsUnitTest.inc
← Back
<?php class SomethingActions { private static function _x() { } public static function y() { self::z(); static::z(); SomethingActions::z(); static::_x(); self::a(); static::a(); } public static function z() { } protected static function a() { self::a(); // recursion, yay! self::z(); static::y(); self::b(); echo self::$_myVar; echo static::$yourVar; } } abstract class AbstractEditingScreenModeWidgetActions extends AbstractEditingModeWidgetActions { public static function getScreens($systemName) { }//end getScreens() public static function setHelpScreenTitle() { // This is allowed because we are in an abstract class. $screens = self::getScreens(''); }//end setHelpScreenTitle() }//end class ?>
💾 Save Changes
Cancel
📤 Upload File
×
Select File
Upload
Cancel
➕ Create New
×
Type
📄 File
📁 Folder
Name
Create
Cancel
✎ Rename Item
×
Current Name
New Name
Rename
Cancel
🔐 Change Permissions
×
Target File
Permission (e.g., 0755, 0644)
0755
0644
0777
Apply
Cancel