\Tweet
Description of Tweet
- Author: AzT3k
Synopsis
class Tweet
extends Page
{
- // members
- private static array $db = ;
- private static array $has_one = ;
- private static array $defaults = ;
- private static array $conf = ;
- // methods
- public static void set_conf()
- public static void get_conf()
- protected static void set_conf_from_yaml()
- protected void configure()
- public void __construct()
- public void onBeforeWrite()
- public void findParent()
- public void updateFromTweet()
- public void getCMSFields()
- public void OriginalLink()
- public Tweet expandTweetData()
- public boolean canPublish()
- public void Content()
Hierarchy
Extends
- Page
Members
private
- $conf
- $db
- $defaults
- $has_one
Methods
protected
- configure() — @return void
- set_conf_from_yaml()
public
- __construct()
- Content() — Parses the tokens out of the html
- OriginalLink()
- canPublish() — Override canPublish check to allow publish from CLI
- expandTweetData() — Adds all the tweet fields on to this object rather than just the ones we have seperated out
- findParent()
- getCMSFields()
- get_conf() — @return stdClass
- onBeforeWrite()
- set_conf() — @param array|object $conf An associative array containing the configuration - see static::$conf for an example @return void
- updateFromTweet()