classes/fields/file.php
public function markup( $attributes, $limit = 1, $editable = true, $id = null, $icon = null, $name = null, $linked = false, $link = null ) {

		_doing_it_wrong( 'PodsField_File::markup', esc_html__( 'This method has been deprecated and will be removed from Pods 3.0', 'pods' ), '2.7' );

		// Preserve current file type.
		$field_type = PodsForm::$field_type;

		ob_start();

		if ( empty( $id ) ) {
			$id = '{{id}}';
		}

		if ( empty( $icon ) ) {
			$icon = '{{icon}}';
		}

		if ( empty( $name ) ) {
			$name = '{{name}}';
		}

		if ( empty( $link ) ) {
			$link = '{{link}}';
		}

		$editable = (boolean) $editable;
		$linked   = (boolean) $linked;
		?>
		<li class="pods-file hidden" id="pods-file-<?php echo esc_attr( $id ); ?>">
			<?php
				// @codingStandardsIgnoreLine
				echo PodsForm::field( $attributes['name'] . '[' . $id . '][id]', $id, 'hidden' );
			?>

			<ul class="pods-file-meta media-item">
				<?php if ( 1 !== (int) $limit ) { ?>
					<li class="pods-file-col pods-file-handle">Handle</li>
				<?php } ?>

				<li class="pods-file-col pods-file-icon">
					<img class="pinkynail" src="<?php echo esc_url( $icon ); ?>" alt="Icon" />
				</li>

				<li class="pods-file-col pods-file-name">
					<?php
					if ( $editable ) {
						// @codingStandardsIgnoreLine
						echo PodsForm::field( $attributes['name'] . '[' . $id . '][title]', $name, 'text' );
					} else {
						echo esc_html( $name );
					}
					?>
				</li>

				<li class="pods-file-col pods-file-actions">
					<ul>
						<li class="pods-file-col pods-file-delete"><a href="#delete">Delete</a></li>
						<?php
						if ( $linked ) {
							?>
							<li class="pods-file-col pods-file-download">
								<a href="<?php echo esc_url( $link ); ?>" target="_blank">Download</a></li>
							<?php
						}
						?>
					</ul>
				</li>
			</ul>
		</li>
		<?php
		PodsForm::$field_type = $field_type;

		return ob_get_clean();

	}
public function markup( $attributes, $limit = 1, $editable = true, $id = null, $icon = null, $name = null, $linked = false, $link = null ) {

		_doing_it_wrong( 'PodsField_File::markup', esc_html__( 'This method has been deprecated and will be removed from Pods 3.0', 'pods' ), '2.7' );

		// Preserve current file type.
		$field_type = PodsForm::$field_type;

		ob_start();

		if ( empty( $id ) ) {
			$id = '{{id}}';
		}

		if ( empty( $icon ) ) {
			$icon = '{{icon}}';
		}

		if ( empty( $name ) ) {
			$name = '{{name}}';
		}

		if ( empty( $link ) ) {
			$link = '{{link}}';
		}

		$editable = (boolean) $editable;
		$linked   = (boolean) $linked;
		?>
		<li class="pods-file hidden" id="pods-file-<?php echo esc_attr( $id ); ?>">
			<?php
				// @codingStandardsIgnoreLine
				echo PodsForm::field( $attributes['name'] . '[' . $id . '][id]', $id, 'hidden' );
			?>

			<ul class="pods-file-meta media-item">
				<?php if ( 1 !== (int) $limit ) { ?>
					<li class="pods-file-col pods-file-handle">Handle</li>
				<?php } ?>

				<li class="pods-file-col pods-file-icon">
					<img class="pinkynail" src="<?php echo esc_url( $icon ); ?>" alt="Icon" />
				</li>

				<li class="pods-file-col pods-file-name">
					<?php
					if ( $editable ) {
						// @codingStandardsIgnoreLine
						echo PodsForm::field( $attributes['name'] . '[' . $id . '][title]', $name, 'text' );
					} else {
						echo esc_html( $name );
					}
					?>
				</li>

				<li class="pods-file-col pods-file-actions">
					<ul>
						<li class="pods-file-col pods-file-delete"><a href="#delete">Delete</a></li>
						<?php
						if ( $linked ) {
							?>
							<li class="pods-file-col pods-file-download">
								<a href="<?php echo esc_url( $link ); ?>" target="_blank">Download</a></li>
							<?php
						}
						?>
					</ul>
				</li>
			</ul>
		</li>
		<?php
		PodsForm::$field_type = $field_type;

		return ob_get_clean();

	}
public function markup ( $ attributes , $ limit = 1 , $ editable = true , $ id = null , $ icon = null , $ name = null , $ linked = false , $ link = null ) { _doing_it_wrong ( 'PodsField_File::markup' , esc_html__ ( 'This method has been deprecated and will be removed from Pods 3.0' , 'pods' ) , '2.7' ) ; // Preserve current file type. $ field_type = PodsForm :: $ field_type ; ob_start ( ) ; if ( empty ( $ id ) ) { $ id = '{{id}}' ; } if ( empty ( $ icon ) ) { $ icon = '{{icon}}' ; } if ( empty ( $ name ) ) { $ name = '{{name}}' ; } if ( empty ( $ link ) ) { $ link = '{{link}}' ; } $ editable = ( boolean ) $ editable ; $ linked = ( boolean ) $ linked ; ?>
		<li class="pods-file hidden" id="pods-file-<?php echo esc_attr ( $ id ) ; ?>">
			<?php // @codingStandardsIgnoreLine echo PodsForm :: field ( $ attributes [ 'name' ] . '[' . $ id . '][id]' , $ id , 'hidden' ) ; ?>

			<ul class="pods-file-meta media-item">
				<?php if ( 1 !== ( int ) $ limit ) { ?>
					<li class="pods-file-col pods-file-handle">Handle</li>
				<?php } ?>

				<li class="pods-file-col pods-file-icon">
					<img class="pinkynail" src="<?php echo esc_url ( $ icon ) ; ?>" alt="Icon" />
				</li>

				<li class="pods-file-col pods-file-name">
					<?php if ( $ editable ) { // @codingStandardsIgnoreLine echo PodsForm :: field ( $ attributes [ 'name' ] . '[' . $ id . '][title]' , $ name , 'text' ) ; } else { echo esc_html ( $ name ) ; } ?>
				</li>

				<li class="pods-file-col pods-file-actions">
					<ul>
						<li class="pods-file-col pods-file-delete"><a href="#delete">Delete</a></li>
						<?php if ( $ linked ) { ?>
							<li class="pods-file-col pods-file-download">
								<a href="<?php echo esc_url ( $ link ) ; ?>" target="_blank">Download</a></li>
							<?php } ?>
					</ul>
				</li>
			</ul>
		</li>
		<?php PodsForm :: $ field_type = $ field_type ; return ob_get_clean ( ) ; }
Handle file row output for uploaders

@param array           $attributes Field options.
@param int             $limit      List limit.
@param bool            $editable   Whether the items should be editable.
@param null|int|string $id         Item ID.
@param null|string     $icon       Icon URL.
@param null|string     $name       File name.
@param bool            $linked     Whether the items should be linked.
@param null|string     $link       Link URL.

@return string
@since 2.0.0

@deprecated 2.7.0
Handle file row output for uploaders