Procedural File: export_functions.php

Source Location: /php/export/export_functions.php



Classes:

Page Details:

export/export_functions.php

contains functions for exporting

PHP versions 4 and 5

LICENSE: ARK - The Archaeological Recording Kit. An open-source framework for displaying and working with archaeological data Copyright (C) 2008 L - P : Partnership Ltd. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.

Tags:





backgroundPost

string backgroundPost( string $url)

[line 683]

runs a web request in the background (to prevent the browser falling over)

Tags:

  • return - the element
  • author - http://w-shadow.com/blog/2007/10/16/how-to-run-a-php-script-in-the-background/
  • since - 0.6

Parameters

  • string $url - the array of export options

[ Top ]

elemCSV

string elemCSV( $field, $itemkey, $itemvalue, array $export_conf)

[line 319]

returns elements for a CSV file

Tags:

  • return - the element
  • author - Stuart Eve
  • since - 0.6

Parameters

  • array $export_conf - the array of export options
  • $field -
  • $itemkey -
  • $itemvalue -

[ Top ]

elemMediaRSS

string elemMediaRSS( array $export_conf, string $mod)

[line 187]

returns elements for a Media RSS feed

Tags:

  • return - the element
  • author - Stuart Eve
  • since - 0.6

Parameters

  • array $export_conf - the array of export options
  • string $mod - the requested mod

[ Top ]

exportCSV

array exportCSV( array $export_conf, string $mod)

[line 238]

returns a CSV file containing the csv output of the fields passed

Tags:

  • return - if there are any errors an array is returned
  • author - Stuart Eve
  • since - 0.6

Parameters

  • array $export_conf - the array of export options
  • string $mod - the requested mod

[ Top ]

exportCSVExt

array exportCSVExt( array $export_conf, string $mod)

[line 474]

returns a CSV file containing the csv output of the fields passed from data view

Tags:

  • return - if there are any errors an array is returned
  • author - Henriette Roued
  • since - 0.6

Parameters

  • array $export_conf - the array of export options
  • string $mod - the requested mod

[ Top ]

exportItemList

array exportItemList( array $export_conf, string $mod)

[line 74]

returns a XML accourding to the ARK schema created my Henriette

Tags:

  • return - if there are any errors an array is returned
  • author - Henriette Roued Olsen
  • since - 0.6

Parameters

  • array $export_conf - the array of export options
  • string $mod - the requested mod

[ Top ]

exportMediaRSS

array exportMediaRSS( array $export_conf, string $mod)

[line 134]

returns a media RSS document (basically an RSS feed of images)

Tags:

  • return - if there are any errors an array is returned
  • author - Stuart Eve
  • since - 0.6

Parameters

  • array $export_conf - the array of export options
  • string $mod - the requested mod

[ Top ]

exportXMLExt

array exportXMLExt( array $export_conf, string $mod)

[line 572]

returns a XML file containing the xml output of the fields passed from data_view

Tags:

  • return - if there are any errors an array is returned
  • author - Henriette Roued
  • since - 0.6

Parameters

  • array $export_conf - the array of export options
  • string $mod - the requested mod

[ Top ]

exportXMLItem

array exportXMLItem( array $export_conf, string $mod, $item_val)

[line 103]

returns a XML accourding to the ARK schema created my Henriette

Tags:

  • return - if there are any errors an array is returned
  • author - Henriette Roued Olsen
  • since - 0.6

Parameters

  • array $export_conf - the array of export options
  • string $mod - the requested mod
  • $item_val -

[ Top ]

exportXMLItemList

array exportXMLItemList( array $export_conf, string $mod)

[line 46]

returns a XML accourding to the ARK schema created my Henriette

Tags:

  • return - if there are any errors an array is returned
  • author - Henriette Roued Olsen
  • since - 0.6

Parameters

  • array $export_conf - the array of export options
  • string $mod - the requested mod

[ Top ]


Documentation generated on Thu, 26 Feb 2009 16:48:19 +0000 by phpDocumentor 1.4.1