function __construct($data = '', $type = 'text') { parent::__construct(); $this->setData($data); $this->type = 'text'; $this->setContentType($type); }
function __construct($title = '', $url = '', $id = '') { $this->links = new AtomBuilderObjectList(0, 1000); $this->categories = new AtomBuilderObjectList(0, 1000); $this->setTitle($title); $this->addLink($url, $title, 'alternate', AtomBuilder::DEFAULT_ALTERNATE_TYPE); $this->setID($id); $this->setUpdated(time()); parent::__construct(); }
function __construct($title = '', $url = 'http://flaimo.com/', $id = '') { parent::__construct(); $this->links = new AtomBuilderObjectList(0, 1000); $this->entries = new AtomBuilderObjectList(0, 1000); $this->categories = new AtomBuilderObjectList(0, 1000); $this->setUpdated(date('c', time())); $this->setTitle($title); $this->setID($id); $this->setAuthor(self::GENERATOR_NAME, '', self::GENERATOR_URL); $this->addLink($url, $title, 'self', self::DEFAULT_ALTERNATE_TYPE); $this->setFilename(); }
function __construct($offset = 0, $size = 20) { parent::__construct(); $this->setSize($size); $this->setOffset($offset); }
function __construct($name = '') { parent::__construct(); $this->setName($name); }
function __construct($url = '') { parent::__construct(); $this->setURL($url); $this->setRelation('alternate'); }
function __construct($term = 'default') { parent::__construct(); $this->setTerm($term); }
function __construct(AtomBuilder &$atomdata) { parent::__construct(); $this->atomdata =& $atomdata; }