本文整理汇总了PHP中Feed::Feed方法的典型用法代码示例。如果您正苦于以下问题:PHP Feed::Feed方法的具体用法?PHP Feed::Feed怎么用?PHP Feed::Feed使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Feed
的用法示例。
在下文中一共展示了Feed::Feed方法的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: DeviantArt_Log
public function DeviantArt_Log($username, $format = 1)
{
$this->username = trim($username);
parent::Feed();
}
示例2: RSS
function RSS($module_id, $feed_name = DEFAULT_FEED_NAME, $id_cat = 0)
{
parent::Feed($module_id, $feed_name, $id_cat);
$this->tpl = new Template(DEFAULT_RSS_TEMPLATE);
}
示例3: DeviantArt_Log
public function DeviantArt_Log($username, $format = 1)
{
$url = sprintf(self::BACKEND_URL, $username, $format);
parent::Feed($url);
}
示例4: DeviantArt_Gallery
public function DeviantArt_Gallery($username)
{
$this->username = trim($username);
$this->rating = $rating;
parent::Feed();
}
示例5: DeviantArt_Favourite
public function DeviantArt_Favourite($username, $rating = null)
{
$url = sprintf(self::BACKEND_URL, $username);
$this->rating = $rating;
parent::Feed($url);
}
示例6: DeviantArt_Favourite
public function DeviantArt_Favourite($username, $rating = null)
{
$this->username = trim($username);
$this->rating = $rating;
parent::Feed();
}