Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class DataRecord
- {
- public static $dbName;
- public static function init()
- {
- self::$dbName = 'MyCoolDbName';
- }
- }
- UserDataRecord::init();
- $dbName = DataRecord ::$dbName;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement