Doctrine_Record::getAccessor PHP Méthode

getAccessor() public méthode

gets the custom accessor for a field name
public getAccessor ( string $fieldName ) : string
$fieldName string
Résultat string $accessor
    public function getAccessor($fieldName)
    {
        if ($this->hasAccessor($fieldName)) {
            $componentName = $this->_table->getComponentName();
            return self::$_customAccessors[$componentName][$fieldName];
        }
    }