Isolieren Sie eine Wertespalte aus einem Array von Objekten [Duplikat]

Post a reply

Smilies
:) :( :oops: :chelo: :roll: :wink: :muza: :sorry: :angel: :read: *x) :clever:
View more smilies

BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Isolieren Sie eine Wertespalte aus einem Array von Objekten [Duplikat]

by Guest » 17 Jan 2025, 05:43

Ich habe ein Array wie dieses

Code: Select all

array (size=1)
45 =>
object(stdClass)[37]
public 'term_id' => string '45' (length=2)
public 'name' => string 'Appointments' (length=12)
public 'slug' => string 'appointments' (length=12)
public 'term_group' => string '0' (length=1)
public 'term_taxonomy_id' => string '48' (length=2)
public 'taxonomy' => string 'tribe_events_cat' (length=16)
public 'description' => string '' (length=0)
public 'parent' => string '0' (length=1)
public 'count' => string '1' (length=1)
public 'object_id' => string '625' (length=3)
46 =>
object(stdClass)[37]
public 'term_id' => string '46' (length=2)
public 'name' => string 'Appointmentx' (length=12)
public 'slug' => string 'appointmentx' (length=12)
public 'term_group' => string '0' (length=1)
public 'term_taxonomy_id' => string '48' (length=2)
public 'taxonomy' => string 'tribe_events_cat' (length=16)
public 'description' => string '' (length=0)
public 'parent' => string '0' (length=1)
public 'count' => string '1' (length=1)
public 'object_id' => string '626' (length=3)
Ich möchte nur term_id aus diesem Array entfernen und es wie folgt zusammenführen

Code: Select all

array(45,46,...);
Kann mir jemand helfen?

Top