public function getOrder($objectOrKey) {
    $key = $objectOrKey instanceof GObject ? $objectOrKey->getKey() : $objectOrKey;
    return array_search($key, $this->order);
  }
public function getOrder($objectOrKey) {
    $key = $objectOrKey instanceof GObject ? $objectOrKey->getKey() : $objectOrKey;
    return array_search($key, $this->order);
  }
public function getOrder ( $ objectOrKey ) { $ key = $ objectOrKey instanceof GObject ? $ objectOrKey -> getKey ( ) : $ objectOrKey ; return array_search ( $ key , $ this -> order ) ; }
Returns the position of the object in the collection
@param  string|GObject $objectOrKey
@return integer|FALSE
Returns the position of the object in the collection