Exemplo n.º 1
0
 /**
  * Creates a new item object for media manager
  *
  * @since	5.0
  * @access	public
  * @param	string
  * @return	
  */
 protected function createItem($uri)
 {
     $item = new stdClass();
     $item->place = EasyBlogMediaManager::getPlaceId($uri);
     $item->title = EasyBlogMediaManager::getTitle($uri);
     $item->url = EasyBlogMediaManager::getUrl($uri);
     $item->uri = $uri;
     $item->key = EasyBlogMediaManager::getKey($uri);
     return $item;
 }