public static function prepareDefault($name)
    {
        $default = static::defaultContent($name);
        if (empty($default)) {
            return false;
        }

        $content = new static;
        $content->topic = $default['topic'];
        $content->content = $default['content'];
        return $content;
    }
public static function prepareDefault($name)
    {
        $default = static::defaultContent($name);
        if (empty($default)) {
            return false;
        }

        $content = new static;
        $content->topic = $default['topic'];
        $content->content = $default['content'];
        return $content;
    }
public static function prepareDefault ( $ name ) { $ default = static :: defaultContent ( $ name ) ; if ( empty ( $ default ) ) { return false ; } $ content = new static ; $ content -> topic = $ default [ 'topic' ] ; $ content -> content = $ default [ 'content' ] ; return $ content ; }
Returns default content object.
@param string $name content name
@return bool|Content
@since 0.2
Returns default content object .