public string GetPagesListName(SPWebInstance web) { if (web == null) { throw new JavaScriptException(this.Engine, "Error", "A SPWeb must be supplied as the first parameter."); } return(PublishingWeb.GetPagesListName(web.Web)); }