/** * Set the offset parameter * @param string * @static * @access public * @todo Setting the offset path could be done automatically. Implement such an algorithm * and remove this method. */ public static function setOffset($offset) { if (!preg_match('/\\/$/', $offset)) { $offset .= '/'; } self::$offset = $offset; }