GithubHelp home page GithubHelp logo

sondagespro / ls-getquestioninformation Goto Github PK

View Code? Open in Web Editor NEW
2.0 4.0 0.0 370 KB

Mirror of https://gitlab.com/SondagesPro/coreAndTools/getQuestionInformation

License: GNU Affero General Public License v3.0

PHP 100.00%
limesurvey

ls-getquestioninformation's Introduction

getQuestionInformation plugin for LimeSurvey.

A collections of tools for opther plugin : have information about all questions in survey.

This plugin is compatible with version 2.73 and 3.22 of LimeSurvey, can be test on any other 2.X and 3.X version.

This plugin is not compatible with LimeSurvey 4.X version

This plugin is currently on Release Candidate for 5.X version

Installation

Via GIT

  • Go to your LimeSurvey Directory
  • Clone in plugins/getQuestionInformation directory : git clone https://gitlab.com/SondagesPro/coreAndTools/getQuestionInformation.git

Via ZIP dowload

  • Get the file getQuestionInformation.zip
  • Extract : unzip getQuestionInformation.zip
  • Move the directory to plugins/ directory inside LimeSurvey

Usage

  • \getQuestionInformation\helpers\surveyCodeHelper::getAllQuestions($surveyId) : get array of question column : key are column, value are code for expression
  • \getQuestionInformation\helpers\surveyAnswers::getAllQuestionsAnswers($surveyId,$language) : get array of question answer type :
    • key are column name
    • value are an array with
      • type : freetext, answer, decimal, datetime, float or upload
      • answers : the answers list code => text in language
  • \getQuestionInformation\helpers\surveyColumnsInformation($surveyId,$language) give 2 primary function
    • allQuestionListData used for dropdown selector in plugins
    • questionColumns used for Yii grid

Contribute and issue

Contribution are welcome, for patch and issue : use gitlab.

Home page & Copyright

ls-getquestioninformation's People

Contributors

shnoulle avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.