position() 공개 메소드

Fetch the current position in the loop (starting at 1)
부터: 2.3
public position ( ) : integer
리턴 integer Current row number (+1)
예제 #1
0
 /**
  * Fetch the current position in the loop (starting at 1)
  *
  * @see PodsData::position
  *
  * @return int Current row number (+1)
  * @since 2.3
  */
 public function position()
 {
     $this->do_hook('position');
     return $this->data->position();
 }