## Apache Zeta Components Manual :: File Source for image.php

## Source for file image.php

Documentation is available at image.php

1. <?php
2. /**
3. * File containing the ezcFeedImageElement class.
4. *
5. * Licensed to the Apache Software Foundation (ASF) under one
6. * or more contributor license agreements. See the NOTICE file
7. * distributed with this work for additional information
8. * regarding copyright ownership. The ASF licenses this file
9. * to you under the Apache License, Version 2.0 (the
10. * "License"); you may not use this file except in compliance
11. * with the License. You may obtain a copy of the License at
12. *
13. * http://www.apache.org/licenses/LICENSE-2.0
14. *
15. * Unless required by applicable law or agreed to in writing,
16. * software distributed under the License is distributed on an
17. * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
18. * KIND, either express or implied. See the License for the
19. * specific language governing permissions and limitations
20. * under the License.
21. *
22. * @package Feed
23. * @version //autogentag//
24. * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0
25. * @filesource
26. */
28. /**
29. * Class defining an image element.
30. *
31. * @property string $link
32. * The URL where the image is stored.
33. * @property string $title
34. * The title of the image.
35. * @property string $url
36. * The URL the image points at.
37. * @property string $description
38. * A description for the image.
39. * @property int $width
40. * The width of the image in pixels.
41. * @property int $height
42. * The height of the image in pixels.
43. * @property string $about
44. * An identifier for the image (usually the same value as $link).
45. * Used only by RSS1.
46. *
47. * @package Feed
48. * @version //autogentag//
49. */
50. class ezcFeedImageElement extends ezcFeedElement
51. {
52. /**
53. * The URL to the image.
54. *
55. * @var string
56. */
57. public $link ;
59. /**
60. * The title for the image.
61. *
62. * @var string
63. */
64. public $title ;
66. /**
67. * The URL the image points at.
68. *
69. * @var string
70. */
71. public $url ;
73. /**
74. * A description for the image.
75. *
76. * @var string
77. */
78. public $description ;
80. /**
81. * The width of the image in pixels.
82. *
83. * @var int
84. */
85. public $width ;
87. /**
88. * The height of the image in pixels.
89. *
90. * @var int
91. */
92. public $height ;
94. /**
95. * The identifier of the image.
96. *
97. * @var string
98. */
99. public $about ;
101. /**
102. * Returns the link attribute.
103. *
104. * @return string
105. */
106. public function __toString ()
107. {
108. return $this-> link . '';
109. }
110. }
111. ?>

Documentation generated by phpDocumentor 1.4.3