<?php
class mymodule extends Cf_Controller
{
    public function __construct($params = null)
    {
        $tmp = &get_Cf_instance();
        log_message('debug', 'mymodule->private_id:' . $tmp->privateId);

        if (!$tmp->privateId) {
            parent::__construct();
        } else {
            $this->initialize();
        }
        log_message('debug', 'mymodule->Finished:' . $tmp->privateId);
    }

    public function initialize()
    {
        log_message('debug', 'mymodule initialize ->private_id:');
    }
}
