src/db/orm/PersistableObject.php
protected function get($property) {
        $mapping = $this->dao()->getMapping();

        if (isset($mapping['properties'][$property]))
            return $this->getNonRelationValue($property);

        if (isset($mapping['relations'][$property]))
            return $this->getRelationValue($property);

        throw new RuntimeException('Not a mapped property "'.$property.'"');
    }
protected function get($property) {
        $mapping = $this->dao()->getMapping();

        if (isset($mapping['properties'][$property]))
            return $this->getNonRelationValue($property);

        if (isset($mapping['relations'][$property]))
            return $this->getRelationValue($property);

        throw new RuntimeException('Not a mapped property "'.$property.'"');
    }
protected function get ( $ property ) { $ mapping = $ this -> dao ( ) -> getMapping ( ) ; if ( isset ( $ mapping [ 'properties' ] [ $ property ] ) ) return $ this -> getNonRelationValue ( $ property ) ; if ( isset ( $ mapping [ 'relations' ] [ $ property ] ) ) return $ this -> getRelationValue ( $ property ) ; throw new RuntimeException ( 'Not a mapped property "' . $ property . '"' ) ; }
Return the logical value of a mapped property.

@param  string $property - property name

@return mixed - property value
Return the logical value of a mapped property .