CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion »
  • APIs and Hooks (Moderator: Donald Lobo) »
  • What is is_test for?
Pages: [1]

Author Topic: What is is_test for?  (Read 933 times)

questions

  • I post occasionally
  • **
  • Posts: 79
  • Karma: 2
  • CiviCRM version: 4.4.6
  • CMS version: Durpal, 7
  • MySQL version: 5.1
  • PHP version: 5.3
What is is_test for?
September 01, 2011, 08:55:23 pm
I see this in lots of examples of queries but I can't seemed find anything that says just what it is and if it's needed. 

I blindly put it some tokens I was writing but then it could find is_test when I had to use in line views so I left it out.  It didn't seem to matter, so what's it for?   Do I need it?

I'm sorry if it's in the documentation somewhere and I missed it.

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: What is is_test for?
September 01, 2011, 10:49:44 pm
Where/which API?

X+
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

questions

  • I post occasionally
  • **
  • Posts: 79
  • Karma: 2
  • CiviCRM version: 4.4.6
  • CMS version: Durpal, 7
  • MySQL version: 5.1
  • PHP version: 5.3
Re: What is is_test for?
September 04, 2011, 11:19:43 pm
OK, I feel stupid.  I didn't notice that is_test is a column on some tables, contributions, membership probably others.  I haven't a clue what the column is used for and can't find any documentation about the different columns and what they mean.  The erd's I found don't give that level of detail.   Though, most columns are obvious but there are few that aren't. 

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: What is is_test for?
September 04, 2011, 11:42:05 pm
Check out the getfields of the entity you want using the api explorer see if you get more doc. But in general, is_test is exactly that: a flag that it was a test. Eg. for a participant it means that it isn't a really real payment, that you don't need to count as an allocated seat (there is a test registration url in the back office).

X+
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion »
  • APIs and Hooks (Moderator: Donald Lobo) »
  • What is is_test for?

This forum was archived on 2017-11-26.