public function process_child( $type ) {

		if ( isset( $this->struct[ $type ]['id'] ) ) {
			$this->{$type}( $this->struct[ $type ]['id'], $this->struct[ $type ] );
		} else {
			$this->process_children( $type );
		}

	}
public function process_child( $type ) {

		if ( isset( $this->struct[ $type ]['id'] ) ) {
			$this->{$type}( $this->struct[ $type ]['id'], $this->struct[ $type ] );
		} else {
			$this->process_children( $type );
		}

	}
public function process_child ( $ type ) { if ( isset ( $ this -> struct [ $ type ] [ 'id' ] ) ) { $ this -> { $ type } ( $ this -> struct [ $ type ] [ 'id' ] , $ this -> struct [ $ type ] ) ; } else { $ this -> process_children ( $ type ) ; } }
Process type key child

@since  1.0.0
@access public

@param string $type The type of child object.
Process type key child