AAAAhome/academiac/www/administrator/components/com_csvi/tables/csvimproved.php000060400000001473151453020370023403 0ustar00loadArray($array['params']); $array['params'] = $registry->toString(); } return parent::bind($array, $ignore); } } ?>home/academiac/www/administrator/components/com_csvi/helpers/file/export/html/csvimproved.php000060400000005372151476235720027015 0ustar00contents = ''.chr(10); $this->contents .= ''.chr(10); return $this->contents; } /** * Start the table header * * @return string start table header */ function StartTableHeaderText() { return ''; } /** * End the table header * * @return string end table header */ function EndTableHeaderText() { return ''.chr(10); } /** * Creates the table header * * @return string th field */ public function TableHeaderText($headers) { return ''; } /** * Start the table body header * * @see $contents * @return string table body header */ public function BodyText() { return ''; } /** * Creates the HTML footer * * @see $contents * @return string HTML footer */ function FooterText() { $this->contents = '
'.$headers.'
'.chr(10); return $this->contents; } /** * Opens a table row * * @see $contents * @return string tr opening tag */ function NodeStart() { $this->contents = ''.chr(10); return $this->contents; } /** * Closes a table row * * @see $contents * @return string tr closing tag */ function NodeEnd() { $this->contents = ''.chr(10); return $this->contents; } /** * Adds a table td element * * @see $node * @return string td row */ function Element($column_header, $cdata=false) { $this->node = ''; $this->node .= $this->contents; $this->node .= ''; $this->node .= "\n"; return $this->node; } /** * Handles all content and modifies special cases * * @see $contents * @return string formatted table row */ function ContentText($content, $column_header, $fieldname, $cdata=false) { switch ($fieldname) { default: $this->contents = $content; break; } return $this->Element($column_header, $cdata); } } ?> home/academiac/www/administrator/components/com_csvi/helpers/file/export/xml/csvimproved.php000060400000004715151476374700026653 0ustar00contents = ''.chr(10); $this->contents .= ''.chr(10); return $this->contents; } /** * Creates the XML footer * * @see $contents * @return string XML header */ public function FooterText() { $this->contents = ''.chr(10); return $this->contents; } /** * Opens an XML item node * * @see $contents * @return string XML node data */ public function NodeStart() { $this->contents = ''.chr(10); return $this->contents; } /** * Closes an XML item node * * @see $contents * @return string XML node data */ public function NodeEnd() { $this->contents = ''.chr(10); return $this->contents; } /** * Adds an XML element * * @see $node * @return string XML element */ private function Element($column_header, $cdata=false) { $this->node = '<'.$column_header.'>'; if ($cdata) $this->node .= 'node .= $this->contents; if ($cdata) $this->node .= ']]>'; $this->node .= ''; $this->node .= "\n"; return $this->node; } /** * Handles all content and modifies special cases * * @see $contents * @return string formatted XML element */ public function ContentText($content, $column_header, $fieldname, $cdata=false) { switch ($fieldname) { case 'field_default_value': case 'product_attribute': $cdata = true; default: $this->contents = $content; break; } if (empty($column_header)) $column_header = $fieldname; return $this->Element($column_header, $cdata); } } ?>