|
CMS Bridges
0.0.0
Multiple CMS platform module and theme development API
|
Public Member Functions | |
| __construct () | |
| platform () | |
Data Fields | |
| const | PLATFORM_UNKNOWN = false |
| const | PLATFORM_DRUPAL = 'drupal' |
| const | PLATFORM_JOOMLA = 'joomla' |
| const | PLATFORM_WORDPRESS = 'wordpress' |
Private Member Functions | |
| _platform () | |
Private Attributes | |
| $platform = self::PLATFORM_UNKNOWN | |
CMS Bridges Base class. All other classes should extend this one.
Definition at line 20 of file cbBase.php.
| __construct | ( | ) |
Base constructor for CMS Bridges.
Definition at line 45 of file cbBase.php.
References _platform(), and platform().
| _platform | ( | ) | [private] |
Determine the platform we are executing under.
| boolean | FALSE If self::PLATFORM_UNKNOWN. |
| string | self::PLATFORM_DRUPAL, self::PLATFORM_JOOMLA, or self::PLATFORM_WORDPRESS. |
Definition at line 61 of file cbBase.php.
References $platform, PLATFORM_DRUPAL, PLATFORM_JOOMLA, PLATFORM_UNKNOWN, and PLATFORM_WORDPRESS.
Referenced by __construct().
| platform | ( | ) |
Get the platform value.
| boolean | PLATFORM_UNKNOWN The platform value is unknown. The platform is unknown if the platform being used is not supported or is otherwise undetermined. |
| string | PLATFORM_DRUPAL, PLATFORM_JOOMLA or PLATFORM_WORDPRESS The supported platform value. |
Definition at line 86 of file cbBase.php.
References $platform.
Referenced by __construct().
$platform = self::PLATFORM_UNKNOWN [private] |
The determined platform CMS Bridges is being executed under.
Definition at line 24 of file cbBase.php.
Referenced by _platform(), and platform().
1.8.0