Jump to content

AtkManyBoolRelation: Difference between revisions

From NusaATK
Line 2: Line 2:
Example to come
Example to come


=== setting Initial Values ===
=== Setting Initial Values ===
[Borrowed from achievo Forums posting by mvkooten]
[Borrowed from achievo Forums posting by mvkooten]



Revision as of 12:40, 30 April 2008

atkManyBoolRelation

Example to come

Setting Initial Values

[Borrowed from achievo Forums posting by mvkooten]

An atkManyBoolRelation requires an multi dimensional array: ["regios" => array( 0 => array( "regios_id" => array( "regios_id" => 2 ) ) ) ]

Be aware of the extra index in the array ( the first index: 0), without this I doesn't work. It took me an couple of hours to find out.