Page 1 of 1


Posted: Mon Feb 14, 2011 8:24 pm
by agarzon

I'm starting to develop a new VAIP (VA integration pack) alternative, based in MVC, themes, layouts, maybe cache, and funny jquery stuff :wink:

I hope found help here with the official developer team.

Here is my first consult:

I run

Code: Select all

According Wiki, the must return an array (id, name, base, code, budget, homepage, logo_l, logo_s, price, reputation, pilotcharge, multiplier, mission )

And here the data:
[id] => xxxx
[name] => TCA Venezuela
[base] => Venezuela

Code: Select all

 => TCA
    [budget] => 16267486462
    [homepage] =>
[color=#FF0000]    [logo_l] => 
    [logo_s] => [/color]
[color=#FF0000]    [price] => 0[/color]
    [reputation] => 120
    [pilotcharge] => 35
    [multiplier] => 0
    [mission] => La Primera Línea Aérea Virtual de Venezuela.  En sus 10 años de vida.

Everything is right but... where is the logos? 
And exactly what is "price", and why show 0 ?

Thanks for your assistence  :wink:

Re: getAirlineData

Posted: Tue Feb 15, 2011 1:28 am
by Konny
Well, I actually had to look up the "price" meaning myself ;-). It's not used anymore and usually is 0, so I marked it as "deprecated" in the wiki and will remove it in the next release.

I also fixed the problem with the logos. You should now get a link to the corresponding images.

I'm looking forward to your first release :).

Re: getAirlineData

Posted: Tue Feb 15, 2011 2:42 am
by agarzon
Thanks :D