public static function getSession() { if (CommonUtils::isEmpty(self::$session)) { self::$session = new UserDefineSession(); } return self::$session; }
public function __construct($basePath) { if (!CommonUtils::isEmpty($basePath)) { if (strstr($basePath, ";")) { $this->basePath = explode(";", $basePath); } else { $this->basePath = $basePath; } } }