<?php

	class DaoCacheConstants
	{
		/**
		 * article categories
		 */
	    const CACHE_GLOBAL = "Lifetype";
	    const CACHE_CONFIGDBSTORAGE = "config_db_storage";

		/**
		 * article categories
		 */
		const CACHE_ARTICLE_CATEGORIES = "article_categories";
		const CACHE_ARTICLE_CATEGORIES_BYNAME = "article_categories_byname";
		const CACHE_ARTICLE_CATEGORIES_BLOG = "article_categories_blog";
		const CACHE_ARTICLE_CATEGORIES_LINK = "article_categories_link";

		/**
		 * articles
		 */
	    const CACHE_ARTICLES = "articles";
	    const CACHE_ARTICLES_BYNAME = "articles_byname";
	    const CACHE_ARTICLETEXT = "article_text";
	    const CACHE_ARTICLESPERMONTH = "articles_per_month";

		/**
		 * blog categories
		 */
		const CACHE_BLOGCATEGORIES = "cache_blog_categories";
		const CACHE_BLOGCATEGORIES_ALL = "cache_blog_categories_all";

		/**
		 * blogs
		 */
	    const CACHE_BLOGINFOS = "bloginfo";
	    const CACHE_BLOGIDBYNAME = "bloginfo_idbyname";
	    const CACHE_BLOGIDBYDOMAIN = "bloginfo_idbydomain";

		/**
		 * article comments
		 */
		const CACHE_ARTICLE_COMMENTS = "article_comments";
		const CACHE_ARTICLE_COMMENTS_BYARTICLE_NEWEST_TO_OLDEST = "article_comments_byarticle_newest_to_oldest";
		const CACHE_ARTICLE_COMMENTS_BYARTICLE_OLDEST_TO_NEWEST = "article_comments_byarticle_oldest_to_newest";

		/**
		 * custom fields
		 */
		const CACHE_CUSTOMFIELDS = "customfields";
		const CACHE_CUSTOMFIELDS_BLOG = "customfields_blog";
		const CACHE_CUSTOMFIELDS_BY_NAME = "customfields_name";

		/**
		 * custom field values
		 */
	    const CACHE_CUSTOMFIELDVALUES_ARTICLE = "customfieldvalues_article";

		/**
		 * article global categories
		 */
		const CACHE_GLOBALCATEGORIES = "cache_global_categories";
		const CACHE_GLOBALCATEGORIES_ALL = "cache_global_categories_all";

		/**
		 * links
		 */
		const CACHE_MYLINKS_ALL = "cache_mylinks_all";
		const CACHE_MYLINKS = "cache_mylinks";

		/**
		 * recent articles
		 */
		const CACHE_RECENT_ARTICLES_BY_BLOG = "recent_articles_by_blog";

		/**
		 * link categories
		 */
		const CACHE_MYLINKCATEGORIES_ALL = "mylinks_categories_all";
		const CACHE_MYLINKCATEGORIES = "mylinks_categories";

		/**
		 * gallery albums
		 */
	    const CACHE_USERALBUMS_NESTED = "useralbums_nested";
		const CACHE_USERALBUMS = "useralbums";
		const CACHE_GALLERYALBUM = "album";
		const CACHE_GALLERYALBUMBYNAME = "album_byname";

		/**
		 * gallery resources
		 */
		const CACHE_RESOURCES = "galleryresources";
		const CACHE_RESOURCES_BY_NAME = "galleryresources_name";
		const CACHE_RESOURCES_USER = "galleryresources_user";

		/**
		 * users
		 */
	    const CACHE_USERINFO = "userinfo";
	    const CACHE_USERIDBYNAME = "userinfo_idbyname";

		/**
		 * user permissions
		 */
		const CACHE_USER_PERMISSIONS = "user_permissions";

		/**
		 * locales
		 */
	    const CACHE_LOCALES = "locales";
	    const CACHE_BLOG_LOCALES = "bloglocales";

	    /**
	     * permissions
	     */
	    const CACHE_PERMISSIONS_ALL = "permissions_all";
	    const CACHE_PERMISSIONS = "permissions";

	    /**
	     * friend groups
	     */
	    const CACHE_FRIEND_GROUPS = "friend_groups";
	    const CACHE_FRIEND_GROUPS_BY_USER = "friend_groups_by_user";

	    /**
	     * friends
	     */
	    const CACHE_FRIENDS = "friends";

	    /**
	     * private message box
	     */
	    const CACHE_PRIVATE_MESSAGE_BOXES = "cache_private_message_BOXES";
	    const CACHE_PRIVATE_MESSAGE_INBOX_BY_USERID = "cache_private_message_inbox_by_userid";
	    const CACHE_PRIVATE_MESSAGE_OUTBOX_BY_USERID = "cache_private_message_outboxbox_by_userid";

	    /**
	     * private messages
	     */
	    const CACHE_PRIVATE_MESSAGES = "cache_private_messages";
	    const CACHE_PRIVATE_MESSAGES_BY_BOX_ID = "cache_private_messages_by_box_id";

	    /**
	     * locations
	     */
		const CACHE_LOCATION_BY_ID ="location_by_id";
		const CACHE_LOCATIONS_BY_BLOG = "locations_by_blog";

		/**
		 * menu
		 */
		const CACHE_MENU_ITEMS = "cache_menu_items";

	}
?>