public function load_value( $value, $repeater_slug, $post_id ) {
		if ( is_array( $value ) ) {
			return $value;
		}

		list( $results, $trash ) = $this->get_results( $value, $repeater_slug, $post_id );

		// Will not need this array.
		unset( $trash );

		$store   = $this->get_store();
		$results = papi_property_from_array_slugs( $results, unpapify( $repeater_slug ) );

		if ( is_null( $store ) ) {
			return $this->default_value;
		}

		return $this->load_child_properties( $results, $this );
	}
public function load_value( $value, $repeater_slug, $post_id ) {
		if ( is_array( $value ) ) {
			return $value;
		}

		list( $results, $trash ) = $this->get_results( $value, $repeater_slug, $post_id );

		// Will not need this array.
		unset( $trash );

		$store   = $this->get_store();
		$results = papi_property_from_array_slugs( $results, unpapify( $repeater_slug ) );

		if ( is_null( $store ) ) {
			return $this->default_value;
		}

		return $this->load_child_properties( $results, $this );
	}
public function load_value ( $ value , $ repeater_slug , $ post_id ) { if ( is_array ( $ value ) ) { return $ value ; } list ( $ results , $ trash ) = $ this -> get_results ( $ value , $ repeater_slug , $ post_id ) ; // Will not need this array. unset ( $ trash ) ; $ store = $ this -> get_store ( ) ; $ results = papi_property_from_array_slugs ( $ results , unpapify ( $ repeater_slug ) ) ; if ( is_null ( $ store ) ) { return $ this -> default_value ; } return $ this -> load_child_properties ( $ results , $ this ) ; }
Change value after it's loaded from the database
and populate every property in the flexible with the right property type.

@param mixed  $value
@param string $repeater_slug
@param int    $post_id

@return array
Change value after it s loaded from the database and populate every property in the flexible with the right property type .