protected function save_loaded_relations( array $exclude = array() ) {
		foreach ( $this->_relations as $relation => $values ) {

			if ( in_array( $relation, $exclude ) ) {
				continue;
			}

			$relation_controller = $this->get_relation( $relation );
			$relation_controller->persist( $values );
		}
	}
protected function save_loaded_relations( array $exclude = array() ) {
		foreach ( $this->_relations as $relation => $values ) {

			if ( in_array( $relation, $exclude ) ) {
				continue;
			}

			$relation_controller = $this->get_relation( $relation );
			$relation_controller->persist( $values );
		}
	}
protected function save_loaded_relations ( array $ exclude = array ( ) ) { foreach ( $ this -> _relations as $ relation => $ values ) { if ( in_array ( $ relation , $ exclude ) ) { continue ; } $ relation_controller = $ this -> get_relation ( $ relation ) ; $ relation_controller -> persist ( $ values ) ; } }
Save loaded relations.

@since 2.0

@param array $exclude Relations to exclude from being saved.
Save loaded relations .