public static function getInstance() { if (self::$_instance === null) { self::$_instance = new self(); } return self::$_instance; }
/** * Get instance of SjTools_Image * */ private static function _getImage() { if (self::$image === null) { self::_import('image'); self::$image =& SjTools_Image::getInstance(); } return self::$image; }