} } return $result; } /** * Returns the next post relative to the current post. * * A convenience function that calls query(). * * @return object The next post object. */ public static function next_post() { return self::query('>'); } /** * Returns the previous post relative to the current post. * * A convenience function that calls query(). * * @return object The previous post object. */ public static function previous_post() { return self::query('<'); } } // end c2c_AdminPostNavigation c2c_AdminPostNavigation::init(); } // end if !class_exists()