\Taggable
Synopsis
class Taggable
extends DataExtension
{
- // members
- protected static array $cache = ;
- public static integer $default_num_page_items = 10;
- protected static $tags_page_link = NULL;
- private static array $db = ;
- private static array $defaults = ;
- private static array $indexes = ;
- // methods
- public void updateCMSFields()
- protected static void get_blacklisted_words()
- public static void str_to_tags()
- public void getIncludeInDump()
- protected array getTagFields()
- public void getExplodedTags()
- public void setExplodedTags()
- public void getTagURLStr()
- public static array extract_hash_tags()
- public static array explode_tags()
- protected static [type] extended_classes()
- protected static [type] table_for_class()
- protected static [type] extension_table_for_class_with_property()
- protected static void all_tags()
- protected static void all_tag_arr()
- protected static string safe_args()
- public static DataList tagged_with()
- public static void getTaggedWith()
- public static void tags2Links()
- public static void getTagPageLink()
- public void getAssociatedLink()
- public void getAssociatedImage()
- public void onBeforeWrite()
Hierarchy
Extends
- DataExtension
Members
private
- $db
- $defaults
- $indexes
protected
- $cache
public
- $default_num_page_items
Methods
protected
- all_tag_arr() — cache proxy method for all_tags()->map
- extended_classes() — cache proxy method for DataObjectHelper
- extension_table_for_class_with_property() — cache proxy method for DataObjectHelper
- getTagFields()
- get_blacklisted_words()
- safe_args() — converts an arg into a safe key for the cache
- table_for_class() — cache proxy method for DataObjectHelper
public
- getAssociatedImage()
- getAssociatedLink()
- getExplodedTags()
- getIncludeInDump()
- getTagPageLink()
- getTagURLStr()
- getTaggedWith() — ye olde getTaggedWith method - hopefully superceeded by the tagged_with method
- onBeforeWrite() — we currently always append hashtags this might produce unexpected results if they are using RestrictToKnownTags are hashtags "known tags"? do we need another flag e.g. TreatHashTagsAsKnownTags? appending tags to the Tag table on save?
- setExplodedTags()
- tagged_with() — Returns a datalist filtered by tags
- updateCMSFields()