janyksteenbeek/ytx-cochannels

该包已被放弃,不再维护。未建议替代包。

邀请和从您的内容所有者中移除频道

0.1.1 2015-10-27 11:00 UTC

This package is auto-updated.

Last update: 2020-11-15 18:32:37 UTC


README

此库允许您将频道链接和从您的YouTube内容所有者中移除。

此库原本打算与Legacy CMS一起使用。由于YouTube最近开始将所有功能迁移到ReCMS(YouTube Studio),此包不再工作,因此将被存档。

Latest Stable Version Total Downloads License SensioLabsInsight

添加频道

/**
 * Add (a) channel(s) to the content owner
 *
 * @param $channels
 * @param bool $canViewRevenue
 * @param bool $webClaiming
 * @return bool|mixed
 */
public function addChannel($channels, $canViewRevenue = true, $webClaiming = true)

移除频道

/**
 * Remove (a) channel(s) from the content owner
 * Note: You have to specify a channel ID without UC
 *
 * @param $channels
 * @return bool|mixed
 */
public function removeChannel($channels)