position() public method

Fetch the current position in the loop (starting at 1)
Since: 2.3
public position ( ) : integer
return integer Current row number (+1)
Ejemplo n.º 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();
 }