getSnippetSource() public method
Returns the string, which should be used as a source to create snippet for this Active Record instance.
Child classes must implement this method to return the actual snippet source text. For example:
public function getSnippetSource()
{
return $this->snippetSourceRelation->content;
}
| public string getSnippetSource ( ) | ||
|---|---|---|
| return | string |
Snippet source string. |
| throws | yii\base\NotSupportedException |
if this is not supported by the Active Record class |
Please login to continue.