Свойство | Type | Description | |
---|---|---|---|
GetAppSettings | Roadkill.Core.Configuration.ApplicationSettings | ||
ParseRawTags | void |
Méthode | 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 ; / ? : @ & = { } | \ ^ [ ] `
|
Méthode | Description | |
---|---|---|
GetAppSettings ( ) : Roadkill.Core.Configuration.ApplicationSettings | ||
ParseRawTags ( ) : void |
public static EncodePageTitle ( string title ) : string | ||
title | string | |
Résultat | string |
public JavascriptArrayForAllTags ( ) : string | ||
Résultat | string |
public PageViewModel ( Roadkill.Core.Database.Page page ) : System | ||
page | Roadkill.Core.Database.Page | |
Résultat | System |
public PageViewModel ( |
||
pageContent | ||
converter | Roadkill.Core.Converters.MarkupConverter | |
Résultat | System |
public static ParseTags ( string tags ) : IEnumerable |
||
tags | string | |
Résultat | IEnumerable |
public RelToUserToPage ( int pageID ) : |
||
pageID | int | |
Résultat |
public static VerifyRawTags ( |
||
pageViewModel | ||
context | System.ComponentModel.DataAnnotations.ValidationContext | |
Résultat | System.ComponentModel.DataAnnotations.ValidationResult |