Refonte du code

This commit is contained in:
Yves ASTIER 2013-08-11 13:30:41 +02:00
parent 3c929e0aa6
commit 927b04dfef
20 changed files with 1137 additions and 475 deletions

View file

@ -0,0 +1,22 @@
<?php
/**
* Plaintext
* Returns $this->items as raw php data.
*
* @name Plaintext
*/
class PlaintextFormat extends FormatAbstract{
public function stringify(){
$datas = $this->getDatas();
return print_r($datas, true);
}
public function display(){
$this
->setContentType('text/plain;charset=' . $this->getCharset())
->callContentType();
return parent::display();
}
}