Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (13 sloc) 427 Bytes
<?php
require_once 'AtomTextConstructAdapter.php';
class AtomContentAdapter extends AtomTextConstructAdapter {
public function __construct($data, $data_is_url=false) {
parent::__construct(AtomNS::CONTENT_ELEMENT, $data, $data_is_url);
}
public function getSrc() {
return $this->_getAttribute(AtomNS::SRC_ATTRIBUTE);
}
public function setSrc($value) {
$this->_setAttribute(AtomNS::SRC_ATTRIBUTE, $value);
}
}
Jump to Line
Something went wrong with that request. Please try again.