Class Socialveo\Core\helpers\CommentsHelper

InheritanceSocialveo\Core\helpers\CommentsHelper » Socialveo\Core\helpers\MediaUploaderHelper
Uses TraitsSocialveo\Core\Translatable

Class CommentsHelper

Public Properties

Hide inherited properties

PropertyTypeDescriptionDefined By
$target_type string Socialveo\Core\helpers\CommentsHelper

Property Details

$target_type public static property
public static string $target_type 'comment'

Method Details

create() public static method

Comment creation

public static Socialveo\Core\models\Comment create ( $language 'en-US' )
$language string

Embed language [optional]

throws Exception
throws Socialveo\Core\exceptions\ValidateException
uniqueNewLines() public static method

Remove extra new lines

public static string uniqueNewLines ( $str )
$str string
update() public static method

Comment update

public static Socialveo\Core\models\Comment update ( $language 'en-US' )
$language string

Embed language [optional]

throws Exception
throws Socialveo\Core\exceptions\ValidateException