root/trunk/lib/sfFeed/sfFeedEnclosure.class.php

Revision 2, 0.9 kB (checked in by fabien, 6 years ago)

initial import

  • Property svn:mime-type set to text/x-php
  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
Line 
1 <?php
2
3 /*
4  * This file is part of the symfony package.
5  * (c) 2004-2006 Fabien Potencier <fabien.potencier@symfony-project.com>
6  *
7  * For the full copyright and license information, please view the LICENSE
8  * file that was distributed with this source code.
9  */
10
11 /**
12  *
13  * @package    symfony
14  * @subpackage addon
15  * @author     Fabien Potencier <fabien.potencier@symfony-project.com>
16  * @version    SVN: $Id$
17  */
18 abstract class sfFeedEnclosure
19 {
20   private
21     $url,
22     $length,
23     $mimeType;
24
25   public function setUrl ($url)
26   {
27     $this->url = $url;
28   }
29
30   public function getUrl ()
31   {
32     return $this->url;
33   }
34
35   public function setLength ($length)
36   {
37     $this->length = $length;
38   }
39
40   public function getLength ()
41   {
42     return $this->length;
43   }
44
45   public function setMimeType ($mimeType)
46   {
47     $this->mimeType = $mimeType;
48   }
49
50   public function getMimeType ()
51   {
52     return $this->mimeType;
53   }
54 }
55
56 ?>
Note: See TracBrowser for help on using the browser.