/** * (Re)set the MySQL result pointer * * @see PodsData::reset * * @param int $row ID of the row to reset to * * @return \Pods The pod object * * @since 2.0 * @link http://pods.io/docs/reset/ */ public function reset($row = null) { /** * Runs directly before the Pods object is reset by reset() * * @since unknown * * @param int|string|null The ID of the row being reset to or null if being reset to the beginningg. * @param object|Pods $this Current Pods object. */ do_action('pods_pods_reset', $row, $this); $this->data->reset($row); return $this; }
/** * (Re)set the MySQL result pointer * * @see PodsData::reset * * @param int $row ID of the row to reset to * * @return \Pods The pod object * * @since 2.0 * @link http://pods.io/docs/reset/ */ public function reset($row = null) { $this->do_hook('reset', $row); $this->data->reset($row); return $this; }