/** * Class constructor * * @since 1.0.0 */ public function __construct() { parent::__construct(); // Check for persistent data from last request that needs to be processed. $this->check_persistent_data(); // Create a new HTML helper component. $class_name = __CLASS__ . '_Html'; $this->html = new $class_name(); }
private static function _sess_init() { if (null !== self::$_have_session) { return; } self::$_have_session = false; if (!session_id()) { if (!headers_sent()) { session_start(); self::$_have_session = true; } } else { self::$_have_session = true; } }
/** * Class constructor * * @since 1.1.0 */ public function __construct() { parent::__construct(); }