comicpress-core/classes/backends/ComicPressBackendAttachment.inc

17 lines
326 B
PHP
Raw Normal View History

2009-11-04 02:45:56 +00:00
<?php
class ComicPressBackendAttachment {
function ComicPressBackendAttachment($attachment_id) {
$this->attachment_id = $attachment_id;
}
function get_url() {
return wp_get_attachment_url($this->attachment_id);
}
function get_info() {
return wp_get_attachment_metadata($this->attachment_id);
}
}
?>