创建话题（小心验证码~）
        
        :param group_alias: 小组ID
        :param title: 标题
        :param content: 内容
        :return: bool
510151
def add_topic(self, group_alias, title, content):
        
        xml = self.api.req(API_GROUP_ADD_TOPIC % group_alias, 'post', data={
            'ck': self.api.ck(),
            'rev_title': title,
            'rev_text': content,
            'rev_submit': '好了，发言',
        })
        return not xml.url.startswith(API_GROUP_ADD_TOPIC % group_alias)
57542
def getTextTitle(self):
        
        request_id = self.getRequestID()
        if not request_id:
            return ""

        analysis = self.getAnalysis()
        if not analysis:
            return request_id

        return "%s - %s" % (request_id, analysis.Title())
1180082
def get_title(self, group=None):
        """"""
        title = super(CommentsPlugin, self).get_title()
        if group is not None:
            count = GroupComments.objects.filter(group=group).count()
        else:
            count = None
        if count:
            title = u'%s (%d)' % (title, count)
        return title
809183
def _hasAttrGroupMember(self, attrGroup, attr):
        
        method_name = '%s_%s' % (attrGroup, attr)
        return hasattr(self, method_name)
761162
def is_group_name_exists(self, group_name):
        
        groups = self.m["groups"]
        for g in groups:
            if (g["group_name"] == group_name):
                return True
        return False
1318352
def get_full_alias(self, query):
        
        if query in self.alias_table.sections():
            return query

        return next((section for section in self.alias_table.sections() if section.split()[0] == query), '')
119832
def tag_aliases(self, name_matches=None, antecedent_name=None,
                    tag_id=None):
        
        params = {
            'search[name_matches]': name_matches,
            'search[antecedent_name]': antecedent_name,
            'search[id]': tag_id
            }
        return self._get('tag_aliases.json', params)
1024754
@NotNull
    @ObjectiveCName("editGroupTitleWithGid:withTitle:")
    public Promise<Void> editGroupTitle(final int gid, final String title) {
        return modules.getGroupsModule().editTitle(gid, title);
    }
1066633
def set_title(self, title=None):
        
        title = self.title or title
        if title is not None:
            self.ax.set_title(title)
1185597
public function addGroupTextAction($title)
	{
		$id = ($s = sizeof($this->group_actions)) ? ($s + 1) : 1;

		return $this->group_actions[$id] = new GroupTextAction($title);
	}
327183
def RootGroup(self):
		

		return(clc.v2.Group(id=self.root_group_id,alias=self.alias,session=self.session))
414862
def set_title(self, title):
        """"""
        self.head.title.attr(content=title)
        return self
271369
def get_alias(self, alias):
        
        aliases = self.get_aliases()
        if alias in aliases.alias:
            settings = self.settings.copy()
            settings.alias = alias
            settings.index = alias
            return Index(read_only=True, kwargs=settings, cluster=self)
        Log.error("Can not find any index with alias {{alias_name}}",  alias_name= alias)
1231917
public function addColumnsGroup(string $group_title)
    {
        $args_count = \func_num_args();
        $args = \func_get_args();

        if ($args_count === 1) {
            throw new ArgumentCountError('Column group must contain at least one column.');
        }

        $columns = [];

        for ($i = 1; $i < $args_count; $i++) {
            $this->addColumn($args[$i]);
            /** @var Column $arg */
            $arg = $args[$i];
            $columns[] = $arg->getKey();
        }

        $this->grouped_columns[] = $columns;
        $this->columns_groups[] = $group_title;

        return $this;
    }
16036
def RenameGroup(r, group, new_name):
    

    body = {
        "new_name": new_name,
    }

    return r.request("put", "/2/groups/%s/rename" % group, content=body)
770426
def resp_set_group(self, resp, group=None):
        
        if group:
            self.group=group
        elif resp:
            self.group=resp.label.decode().replace("\x00", "")
775951
def Alias(self, alias):
        """"""
        # FIXME
        if self.generate_comments:
            self.print_comment(alias)
        print("%s = %s # alias" % (alias.name, alias.alias), file=self.stream)
        self._aliases += 1
        return