SilverStripe\CMS\Model\VirtualPage::castingHelper
Return the "casting helper" (a piece of PHP code that when evaluated creates a casted value object) for a field on this object.
Signature
public function castingHelper(string
$field )
Parameters
$field
— string
Returns
- string