public function getProperty()
    {
        if (!$this->_propertyName) {
            $this->_propertyName = $this->_propertyName();
            if (in_array($this->_propertyName, $this->_sourceTable->getSchema()->columns())) {
                $msg = 'Association property name "%s" clashes with field of same name of table "%s".' .
                    ' You should explicitly specify the "propertyName" option.';
                trigger_error(
                    sprintf($msg, $this->_propertyName, $this->_sourceTable->getTable()),
                    E_USER_WARNING
                );
            }
        }

        return $this->_propertyName;
    }
public function getProperty()
    {
        if (!$this->_propertyName) {
            $this->_propertyName = $this->_propertyName();
            if (in_array($this->_propertyName, $this->_sourceTable->getSchema()->columns())) {
                $msg = 'Association property name "%s" clashes with field of same name of table "%s".' .
                    ' You should explicitly specify the "propertyName" option.';
                trigger_error(
                    sprintf($msg, $this->_propertyName, $this->_sourceTable->getTable()),
                    E_USER_WARNING
                );
            }
        }

        return $this->_propertyName;
    }
public function getProperty ( ) { if ( ! $ this -> _propertyName ) { $ this -> _propertyName = $ this -> _propertyName ( ) ; if ( in_array ( $ this -> _propertyName , $ this -> _sourceTable -> getSchema ( ) -> columns ( ) ) ) { $ msg = 'Association property name "%s" clashes with field of same name of table "%s".' . ' You should explicitly specify the "propertyName" option.' ; trigger_error ( sprintf ( $ msg , $ this -> _propertyName , $ this -> _sourceTable -> getTable ( ) ) , E_USER_WARNING ) ; } } return $ this -> _propertyName ; }
Gets the property name that should be filled with data from the target table
in the source table record.

@return string
Gets the property name that should be filled with data from the target table in the source table record .