Property | Type | Description | |
---|---|---|---|
GetAppSettings | Roadkill.Core.Configuration.ApplicationSettings | ||
ParseRawTags | void |
Method | Description | |
---|---|---|
Activity ( ) : List |
||
CommaDelimitedTags ( ) : string |
Joins the parsed tags with a comma.
|
|
EncodePageTitle ( string title ) : string |
Removes all bad characters (ones which cannot be used in a URL for a page) from a page title.
|
|
GetRelationships ( ) : List |
||
JavascriptArrayForAllTags ( ) : string |
Formats the AllTags to insert inside an array initializer like [];
|
|
PageViewModel ( ) : System | ||
PageViewModel ( Roadkill.Core.Database.Page page ) : System | ||
PageViewModel ( |
||
ParseTags ( string tags ) : IEnumerable |
Takes a string of tags: "tagone,tagtwo,tag3 " and returns a list.
|
|
RelToUserToPage ( int pageID ) : |
Returns if this user has already added a relationship to this page
|
|
SpaceDelimitedTags ( ) : string |
Joins the tags with a space.
|
|
VerifyRawTags ( |
Returns false if the tag contains ; / ? : @ & = { } | \ ^ [ ] `
|
Method | Description | |
---|---|---|
GetAppSettings ( ) : Roadkill.Core.Configuration.ApplicationSettings | ||
ParseRawTags ( ) : void |
public static EncodePageTitle ( string title ) : string | ||
title | string | |
return | string |
public JavascriptArrayForAllTags ( ) : string | ||
return | string |
public PageViewModel ( Roadkill.Core.Database.Page page ) : System | ||
page | Roadkill.Core.Database.Page | |
return | System |
public PageViewModel ( |
||
pageContent | ||
converter | Roadkill.Core.Converters.MarkupConverter | |
return | System |
public static ParseTags ( string tags ) : IEnumerable |
||
tags | string | |
return | IEnumerable |
public RelToUserToPage ( int pageID ) : |
||
pageID | int | |
return |
public static VerifyRawTags ( |
||
pageViewModel | ||
context | System.ComponentModel.DataAnnotations.ValidationContext | |
return | System.ComponentModel.DataAnnotations.ValidationResult |