Programming Language PHP

Namespace v5\Models\Helpers

Class HideAuthor

Total Examples 3

3 code examples of PHP v5\Models\Helpers\HideAuthor extracted from open source projects

Was this example useful?
0
                                                    public function getAuthorRealnameAttribute($value)
    {
        return HideAuthor::hideAuthor(
            $value,
            $this->survey ? $this->survey->hide_author : true,
            $this->getAttributeValue('user_id')
        );
    }
                                            
Was this example useful?
0
                                                    public function getAuthorEmailAttribute($value)
    {
        return HideAuthor::hideAuthor(
            $value,
            $this->survey ? $this->survey->hide_author : true,
            $this->getAttributeValue('user_id')
        );
    }
                                            
Was this example useful?
0
                                                    } //end translations()

    public function getUserIdAttribute($value)
    {
        return HideAuthor::hideAuthor($value, $this->survey ? $this->survey->hide_author : true, $value);
    }
                                            
HideAuthor's Other Methods
HideAuthor's Other Methods