Skip to content
This repository has been archived by the owner. It is now read-only.
No description, website, or topics provided.
PHP
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
classes
controllers
daos
forms
install
locales
templates
zones
CHANGELOG.md
LICENSE
README.md
events.xml
module.xml
urls.xml

README.md

Codeship Status for Atnos/glxDatasExport

jelix Datas Export (glxDatasExport)

This module allow you to export all datas stored in database in CSV format.

Installation

Add the module in your jelix application module directory and install the module:

php cmd.php installmodule glxDatasExport

In glxDatasExport/controllers/default.classic.php fill $dao_form with your dao and form like this:

private $dao_form = array('module~dao' => array('form' => 'module~form', 'onlyFieldsInForm' => true))

Add this locales in myModel.UTF-8.properties for each model:

glxDatasExport.title=List all fields in this model
glxDatasExport.filename=output_filename

Options

If your only want fields in dao

private $dao_form = array('module~dao' => array('form' => null))

If you only want fields in form

private $dao_form = array('module~dao' => array('form' => 'module~form', 'onlyFieldsInForm' => true))

If you want both

private $dao_form = array('module~dao' => array('form' => 'module~form', 'onlyFieldsInForm' => false))
You can’t perform that action at this time.