Gets $prop_key on $this->value.
@param string $prop_key
@return mixed
762338
public function getPropValue($prop_key) {
    if (gettype($this->value) !== 'object') {
      return null;
    }

    Helpers::checkType('prop_key', 'string', $prop_key);
    return $this->_getPropValue(explode('.', $prop_key));
  }
1312540
public function getByProperty($prop)
    {
        foreach ($this->_items as $assoc) {
            if ($assoc->getProperty() === $prop) {
                return $assoc;
            }
        }

        return null;
    }
164329
public function ___get($prop) {
        // retorna o valor da propriedade
        if (isset($this->meta[$prop])) {
            $metaData = (isset($this->meta[$prop])) ? $this->meta[$prop] : null;
            $this->data[$prop] = !isset($this->data[$prop]) || $this->data[$prop] == '' ? $metaData['default'] : $this->data[$prop];
            if ($metaData['required'] == true && ($this->data[$prop] == '' || !isset($this->data[$prop]))) {
                throw new Exception('Campo faltante ou com valor nulo:' . $prop . " Boleto Numero:" . $this->data['nosso_numero']);
            }
            switch ($metaData['tipo']) {
                case 'decimal':
                    $retorno = ($this->data[$prop]) ? number_format($this->data[$prop], $metaData['precision'], '', '') : '';
                    return str_pad($retorno, $metaData['tamanho'] + $metaData['precision'], '0', STR_PAD_LEFT);
                case 'int':
                    $retorno = (isset($this->data[$prop])) ? number_format($this->data[$prop], 0, '', '') : '';
                    return str_pad($retorno, $metaData['tamanho'], '0', STR_PAD_LEFT);
                case 'alfa':
                    $retorno = (isset($this->data[$prop])) ? $this->prepareText($this->data[$prop]) : '';
                    return $this->mb_str_pad(mb_substr($retorno, 0, $metaData['tamanho'], "UTF-8"), $metaData['tamanho'], ' ', STR_PAD_RIGHT);
                case 'alfa2':
                    $retorno = (isset($this->data[$prop])) ? $this->data[$prop] : '';
                    return $this->mb_str_pad(mb_substr($retorno, 0, $metaData['tamanho'], "UTF-8"), $metaData['tamanho'], ' ', STR_PAD_RIGHT);
                case $metaData['tipo'] == 'date' && $metaData['tamanho'] == 6:
                    $retorno = ($this->data[$prop]) ? date("dmy", strtotime($this->data[$prop])) : '';
                    return str_pad($retorno, $metaData['tamanho'], '0', STR_PAD_LEFT);
                case $metaData['tipo'] == 'date' && $metaData['tamanho'] == 8:
                    $retorno = ($this->data[$prop]) ? date("dmY", strtotime($this->data[$prop])) : '';
                    return str_pad($retorno, $metaData['tamanho'], '0', STR_PAD_LEFT);
                case $metaData['tipo'] == 'dateReverse':
                    $retorno = ($this->data[$prop]) ? date("Ymd", strtotime($this->data[$prop])) : '';
                    return str_pad($retorno, $metaData['tamanho'], '0', STR_PAD_LEFT);
                default:
                    return null;
            }
        }
    }
1234205
public function getPropertyInfo($prop)
    {
        if (!$this->loaded) {
            $this->load();
        }

        if (isset($this->propertiesInfos[$prop])) {
            return $this->propertiesInfos[$prop];
        }

        return false;
    }
262334
@Override
    public Object get(String propName) {
        if (propName.equals(PROP_PRINCIPAL_NAME)) {
            return getPrincipalName();
        }
        if (propName.equals(PROP_PASSWORD)) {
            return getPassword();
        }
        if (propName.equals(PROP_REALM)) {
            return getRealm();
        }
        if (propName.equals(PROP_CERTIFICATE)) {
            return getCertificate();
        }
        return super.get(propName);
    }
1269967
public static function prop_or_arr($obj, $key) {
        if (is_object($obj) && array_key_exists($key, get_object_vars($obj))) {
            return $obj->$key;
        }

        if (is_array($obj) && isset($obj[$key])) {
            return $obj[$key];
        }

        return false;
      }
705966
protected function getDecodedValueForProp($propName, $propValue)
    {
        if (in_array($propName, $this->propTypes['string'])) {
            // Strip away null terminators. I think this should be desired, otherwise it just ends in confusion.
            $value = str_replace("\0", '', $this->decodePropValue($propValue, true));
        } elseif (in_array($propName, $this->propTypes['time'])) {
            // Convert from microseconds to minutes (how ADUC displays it anyway, and seems the most practical).
            $value = hexdec($this->decodePropValue($propValue)) / self::TIME_CONVERSION;
        } elseif (in_array($propName, $this->propTypes['int'])) {
            $value = hexdec($this->decodePropValue($propValue));
        } else {
            $value = $this->decodePropValue($propValue);
        }

        return $value;
    }
532868
def property_key(prop)
      prop_key = prop.name.join
      prop_value = value_as_string(prop.value.first)

      # Differentiate between values for different vendor prefixes
      prop_value.to_s.scan(/^(-[^-]+-.+)/) do |vendor_keyword|
        prop_key << vendor_keyword.first
      end

      prop_key
    end
100422
private function addPropToCache($propName)
    {
        $this->propCache[$propName] = [
            'accessors' => [
                'get'   => false,
                'set'   => false,
                'isset' => false,
            ],
            'type' => null,
        ];
        $reflection           = new \ReflectionClass(get_class($this));
        if ($reflection->hasProperty($propName)) {
            $docComment       = $reflection->getProperty($propName)
                ->getDocComment();
            $parsedDocComment = phpDocParser\parseDocComment($docComment);
            // Lambda
            $getTagByName = function ($name, array $tags) {
                foreach ($tags as $tag) {
                    if ($tag['name'] === $name) {
                        return $tag;
                    }
                }
                return null;
            };
            if (($rawType = $getTagByName('var', $parsedDocComment['tags'])) !== null) {
                if (!is_null($rawType['type'])) {
                    $this->propCache[$propName]['type'] = $rawType['type'];
                }
            }
            if (!is_null($getTagByName('accessors', $parsedDocComment['tags']))) {
                array_walk(
                    $this->propCache[$propName]['accessors'],
                    function (&$value) {
                        $value = true;
                    }
                );
            } else {
                if (!is_null($getTagByName('get', $parsedDocComment['tags']))) {
                    $this->propCache[$propName]['accessors']['get'] = true;
                }
                if (!is_null($getTagByName('set', $parsedDocComment['tags']))) {
                    $this->propCache[$propName]['accessors']['set'] = true;
                }
                if (!is_null($getTagByName('isset', $parsedDocComment['tags']))) {
                    $this->propCache[$propName]['accessors']['isset'] = true;
                }
            }
        }
    }
1198495
public function get_property( $key ) {
		return isset( $this->properties[ $key ] ) ? $this->properties[ $key ] : null;
	}
314016
public function ___get($prop)
    {
        // retorna o valor da propriedade
        if (isset($this->meta[$prop])) {
            $metaData = (isset($this->meta[$prop])) ? $this->meta[$prop] : null;
            switch ($metaData['tipo']) {
                case 'decimal':
                    return ($this->data[$prop]) ? number_format($this->data[$prop], $metaData['precision'], ',', '.') : '';
                case 'int':
                    return (isset($this->data[$prop])) ? abs($this->data[$prop]) : '';
                case 'alfa':
                    return ($this->data[$prop]) ? $this->prepareText($this->data[$prop]) : '';
                case $metaData['tipo'] == 'date' && $metaData['tamanho'] == 6:
                    return ($this->data[$prop]) ? date("d/m/y", strtotime($this->data[$prop])) : '';
                case $metaData['tipo'] == 'date' && $metaData['tamanho'] == 8:
                    return ($this->data[$prop]) ? date("d/m/Y", strtotime($this->data[$prop])) : '';
                default:
                    return null;
            }
        }
    }
997446
public static function get_prop( array $mf, $propname, $fallback = null ) {
		return self::get_plaintext( $mf, $propname, $fallback );
	}
1204793
public function getFloat($prop) {

			// Get property
			$val = $this->get($prop);

			// Numeric?
			if (is_numeric($val)) {

				return floatval($val);

			} else {

				// Not found
				return null;

			}

		}
467321
public function &__get($key)
    {
        if (!isset($this->$key)) {
            $this->$key = null;
        }

        return $this->$key;
    }
813010
function &get($key) {
		if ($key=='_id')
			return $this->_id;
		elseif (array_key_exists($key,$this->fields))
			return $this->fields[$key]['value'];
		elseif (array_key_exists($key,$this->adhoc))
			return $this->adhoc[$key]['value'];
		elseif (array_key_exists($key,$this->props))
			return $this->props[$key];
		user_error(sprintf(self::E_Field,$key),E_USER_ERROR);
	}
1172240
public function get_transient( $_key ) {
		$key         = $this->key( $_key, false );
		$version_key = $this->get_version_key( $key );
		$version     = $this->wp_get_transient( $version_key );
		if ( $this->validate_version( $version, 'transient' ) === false ) {
			$this->delete_version_issue( $_key, 'transient' );
			return false;
		}
		return $this->wp_get_transient( $key );
	}
37062
public function __getDynamicProperty($propertyKey)
    {
        return isset($this->__dynamicPropertyMap[$propertyKey]) ? $this->__dynamicPropertyMap[$propertyKey] : null;
    }