~fusonic/chive/1.1

« back to all changes in this revision

Viewing changes to protected/components/export/CsvExporter.php

  • Committer: Matthias Burtscher
  • Date: 2010-02-12 09:12:35 UTC
  • Revision ID: matthias.burtscher@fusonic.net-20100212091235-jqxrb62klx872ajc
* Updated Yii to 1.1.0
* Removed CodePress and CodeMirror
* Updated jQuery and some plugins
* Cleaned some code ...

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
 * License along with this library. If not, see <http://www.gnu.org/licenses/>.
21
21
 */
22
22
 
 
23
 
23
24
class CsvExporter implements IExporter
24
25
{
 
26
        
25
27
        private $items = array();
26
28
        private $mode;
27
29
        private $schema;
37
39
 
38
40
        private $result;
39
41
 
 
42
        /**
 
43
         * @see         IExporter::__construct()
 
44
         */
40
45
        public function __construct($mode)
41
46
        {
42
47
                $this->mode = $mode;
43
48
        }
44
49
 
45
50
        /**
46
 
         * @see         IExport::getSettingsView()
 
51
         * @see         IExporter::getSettingsView()
47
52
         */
48
53
        public function getSettingsView()
49
54
        {
51
56
        }
52
57
 
53
58
        /**
54
 
         * @see         IExport::calculateStepCount()
 
59
         * @see         IExporter::calculateStepCount()
55
60
         */
56
61
        public function calculateStepCount()
57
62
        {
61
66
        }
62
67
 
63
68
        /**
64
 
         * @see         IExport::getStepCount()
 
69
         * @see         IExporter::getStepCount()
65
70
         */
66
71
        public function getStepCount()
67
72
        {
69
74
        }
70
75
 
71
76
        /**
72
 
         * @see         IExport::setItems()
 
77
         * @see         IExporter::setItems()
73
78
         */
74
79
        public function setItems(array $items, $schema = null)
75
80
        {
78
83
        }
79
84
 
80
85
        /**
81
 
         * @see         IExport::runStep()
 
86
         * @see         IExporter::runStep()
82
87
         */
83
88
        public function runStep($i, $collect = false)
84
89
        {
92
97
        }
93
98
 
94
99
        /**
95
 
         * @see         IExport::getResult()
 
100
         * @see         IExporter::getResult()
96
101
         */
97
102
        public function getResult()
98
103
        {
100
105
        }
101
106
 
102
107
        /**
103
 
         * @see         IExport::getSupportedModes()
 
108
         * @see         IExporter::getSupportedModes()
104
109
         */
105
110
        public static function getSupportedModes()
106
111
        {
108
113
        }
109
114
 
110
115
        /**
111
 
         * @see         IExport::getTitle()
 
116
         * @see         IExporter::getTitle()
112
117
         */
113
118
        public static function getTitle()
114
119
        {