nth() public method

Fetch the nth state
Since: 2.3
public nth ( integer | string $nth ) : boolean
$nth integer | string The $nth to match on the PodsData::row_number
return boolean Whether $nth matches
Esempio n. 1
0
 /**
  * Fetch the nth state
  *
  * @see PodsData::nth
  *
  * @param int|string $nth The $nth to match on the PodsData::row_number
  *
  * @return bool Whether $nth matches
  * @since 2.3
  */
 public function nth($nth = null)
 {
     $this->do_hook('nth', $nth);
     return $this->data->nth($nth);
 }