コード例 #1
0
ファイル: amber.php プロジェクト: su/amber_wordpress
 /**
  * Lookup a URL using the AmberStorage class, while caching for the duration of the page load
  */
 private static function lookup_url($url)
 {
     $status = Amber::get_status();
     return Amber::build_link_attributes($status->get_summary($url));
 }
コード例 #2
0
ファイル: amber.php プロジェクト: genevec/amber_wordpress
 /**
  * Lookup a URL using the AmberStorage class, while caching for the duration of the page load
  */
 private static function lookup_url($url)
 {
     $status = Amber::get_status();
     return Amber::build_link_attributes($status->get_summary($url, array(Amber::get_option('amber_backend', 0))));
 }