1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
|
<?php
class SomethingActions
{
private static function _x()
{
}
public static function y()
{
self::z();
SomethingActions::z();
self::_x();
self::a();
}
public static function z()
{
}
protected static function a()
{
self::a(); // recursion, yay!
self::z();
self::y();
self::b();
echo self::$_myVar;
echo self::$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
?>
|