How to get collision objects in the code?

I can not find a way to get the objects collision in script. Is that possible?

Example code similar to mine -

var ParentObject : Transform;
var ChildLength = ParentObject.childCount;
for( var i = 0; i < ChildLength; i++ ){
     var child = ParentObject.GetChild(i);
     child.?
}

Regards, CiliZ

I think you should get them in OnCollisionEnter function,looks
link text
And you can find the object in Collision.