示例#1
0
	/**
	 * You can create from an array also
	 *
	 * @param integer $id
	 * @return object
	 */
	public function create_array($ids)
	{
		return vBForum_Search_Result_Post::create_array($ids);
	}
示例#2
0
文件: post.php 项目: 0hyeah/yurivn
 public static function create($id)
 {
     return vBForum_Search_Result_Post::create_from_object(vB_Legacy_Post::create_from_id($id, true));
 }
示例#3
0
文件: post.php 项目: 0hyeah/yurivn
 /**
 * vBForum_Search_Type_Post::create_item()
 * This is how the type objects are created
 *
 * @param integer $id
 * @return vBForum_Search_Type_Post object
 */
 public function create_item($id)
 {
     return vBForum_Search_Result_Post::create($id);
 }