| 1 | <?php |
||
| 14 | class Excel2003XmlEncoder implements EncoderInterface |
||
| 15 | { |
||
| 16 | /** @const string The name of the format */ |
||
| 17 | const FORMAT_NAME = 'excel_2003_xml'; |
||
| 18 | |||
| 19 | /** @const string XML template for one cell */ |
||
| 20 | const CELL_TEMPLATE='<Cell><Data ss:Type="{{type}}">{{data}}</Data></Cell>'; |
||
| 21 | |||
| 22 | /** @const string XML template for one row */ |
||
| 23 | const ROW_TEMPLATE='<Row>{{cells}}</Row>'; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * {@inheritdoc} |
||
| 27 | */ |
||
| 28 | public function encode($data, $format, array $context = array()) |
||
| 43 | |||
| 44 | /** |
||
| 45 | * {@inheritdoc} |
||
| 46 | */ |
||
| 47 | public function supportsEncoding($format) |
||
| 51 | } |
||
| 52 |