equal
deleted
inserted
replaced
|
1 <?php |
|
2 /** |
|
3 * Zend Framework |
|
4 * |
|
5 * LICENSE |
|
6 * |
|
7 * This source file is subject to the new BSD license that is bundled |
|
8 * with this package in the file LICENSE.txt. |
|
9 * It is also available through the world-wide-web at this URL: |
|
10 * http://framework.zend.com/license/new-bsd |
|
11 * If you did not receive a copy of the license and are unable to |
|
12 * obtain it through the world-wide-web, please send an email |
|
13 * to license@zend.com so we can send you a copy immediately. |
|
14 * |
|
15 * @category Zend |
|
16 * @package Zend_InfoCard |
|
17 * @subpackage Zend_InfoCard_Xml |
|
18 * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com) |
|
19 * @license http://framework.zend.com/license/new-bsd New BSD License |
|
20 * @version $Id: Interface.php 20096 2010-01-06 02:05:09Z bkarwin $ |
|
21 */ |
|
22 |
|
23 /** |
|
24 * The Interface used to represent an XML Data Type |
|
25 * |
|
26 * @category Zend |
|
27 * @package Zend_InfoCard |
|
28 * @subpackage Zend_InfoCard_Xml |
|
29 * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com) |
|
30 * @license http://framework.zend.com/license/new-bsd New BSD License |
|
31 */ |
|
32 interface Zend_InfoCard_Xml_Element_Interface |
|
33 { |
|
34 /** |
|
35 * Return the data within the object as an XML document |
|
36 */ |
|
37 public function asXML(); |
|
38 |
|
39 /** |
|
40 * Magic function which allows us to treat the object as a string to return XML |
|
41 * (same as the asXML() method) |
|
42 */ |
|
43 public function __toString(); |
|
44 } |