public function getMediumText( $text ) {

		if( strlen( $text ) > Yii::$app->core->mediumText ) {

			$text = substr( $text, 0, Yii::$app->core->mediumText );
		}

		return HtmlPurifier::process( $text );
	}