Returns List of attribute names.
@access		public
@param		string		$nsPrefix	Namespace prefix of attribute
@return		array
431191
public function getAttributeNames( $nsPrefix = NULL )
	{
		$list	= array();
		$data	= $nsPrefix ? $this->attributes( $nsPrefix, TRUE ) : $this->attributes();
		foreach( $data as $name => $value )
			$list[] = $name;
		return $list;
	}
619388
public static function getRawTableName($name, $tablePrefix = '')
    {
        if (false !== strpos($name, '{{')) {
            $name = preg_replace('/\\{\\{(.*?)\\}\\}/', '\1', $name);

            return str_replace('%', $tablePrefix, $name);
        }

        return $name;
    }
1304505
public static function filter_prefixed($array, $prefix, $removePrefix = true)
    {
        $return =[];
        foreach ($array as $key => $val) {
            if (preg_match('/^'.$prefix.'/', $key)) {
                if ($removePrefix === true) {
                    $key = preg_replace('/^'.$prefix.'/','',$key);
                }
                $return[$key] = $val;
            }
        }
        return $return;
    }
276431
private function getNamespace($prefix)
    {
        $namespaces = $this->getExtensions()->getNamespaces();
        if (!array_key_exists($prefix, $namespaces)) {
            throw new \InvalidArgumentException(sprintf('Unknown NS prefix "%s"', $prefix));
        }

        return $namespaces[$prefix];
    }
444791
def namespace_attributes(ns)
      Hash[ns.map do |prefix, uri|
             if prefix==""
               ["xmlns", uri]
             else
               [["xmlns", prefix].join(":"), uri]
             end
           end]
    end
1278789
protected function getPrefix()
  {
    $prefix = "";

    if(count($this->currSib))
    {
      $last = array_pop($this->currSib);

      foreach($this->currSib as $sibling)
      {
        $prefix .=  ($sibling) ? $this->getImage("tree_line.gif") : $this->getImage("tree_blank.png");
      }

      $prefix .= ($last) ? $this->getImage("tree_end.gif") : $this->getImage("tree_mid.gif");
    }

    return $prefix;
  }
855740
public function getDocumentNamespaces()
	{
		if ( ! $this->documentPrefixes )
		{
			if ( ! property_exists( $this, 'xbrlDocument' ) ) return null;
			$this->documentPrefixes = $this->xbrlDocument->getDocNamespaces( true );
		}

		return $this->documentPrefixes;
	}
528057
public function attributeNames()
    {
        $className = get_class($this);
        if (!isset(self::$_names[$className])) {
            $reflection = Unit::getReflectionClass($this);
            $names = [];
            foreach ($reflection->getProperties() as $property) {
                $name = $property->getName();
                if ($property->isPublic() && !$property->isStatic()) {
                    $names[] = $name;
                }
            }
            self::$_names[$className] = $names;
        }
        return self::$_names[$className];
    }
1175713
private static function isAttributeMatching($attributeName, $attributePrefixes)
    {
        foreach ($attributePrefixes as $prefix) {
            if (\strpos($attributeName, $prefix) === 0) {
                return true;
            }
        }

        return false;
    }
1358166
public function getTables($matchPrefix = true)
    {
        if ($matchPrefix) {
            $prefix = str_replace('_', '\\_', $this->getPrefix());
            $sql = "SHOW TABLES LIKE '{$prefix}%'";
        } else {
            $sql = 'SHOW TABLES';
        }

        $tables = $this->getValues($sql);

        return $tables;
    }
1371699
public function listNamespaceNames()
    {
        $sql = $this->_platform->getListNamespacesSQL();

        $namespaces = $this->_conn->fetchAll($sql);

        return $this->getPortableNamespacesList($namespaces);
    }
188999
public function getPrimaryKeys($usePrefix = true)
    {
        $ret      = [];
        $callable = [$this->getTableMapClass(), 'getPrimaryKeyFromRow'];

        foreach ($this as $key => $element) {
            $key       = $usePrefix ? ($this->getModel() . '_' . $key) : $key;
            $ret[$key] = call_user_func($callable, array_values($element));
        }

        return $ret;
    }
288175
public Set<String> getAllowedTagsForNamespacePrefix(String namespacePrefix) {
        if (namespacePrefix == null)
            return _defaultTags;
        return _tags.get(namespacePrefix);
    }
1226711
public function getPrefixes() {
        $ds = DIRECTORY_SEPARATOR;
        $getPrefixes = $this->_getPrefixes;
        $getPrefixesPsr4 = $this->_getPrefixesPsr4;
        $original = static::originalInstance();
        $paths = $getPrefixesPsr4 ? $original->{$getPrefixesPsr4}() : [];
        foreach ($original->{$getPrefixes}() as $namespace => $dirs) {
            foreach ($dirs as $key => $dir) {
                $paths[$namespace][$key] = $dir . $ds . trim(strtr($namespace, '\\', $ds), $ds);
            }
        }
        return $paths;
    }
184364
public static Set<String> getPropertiesByPrefix(final String propertyNamePrefix) {

        Set<String> ret = new TreeSet<String>();
        Set<Object> keys = properties.keySet();
        for (Object key : keys) {
            if (null != key && key.toString().startsWith(propertyNamePrefix)) {
                ret.add(properties.getProperty(key.toString()));
            }
        }

        return ret;
    }
606851
private function getBindingByUuidPrefix($uuidPrefix)
    {
        $expr = Expr::method('getUuid', Expr::startsWith($uuidPrefix));
        $descriptors = $this->discoveryManager->findBindingDescriptors($expr);

        if (0 === count($descriptors)) {
            throw new RuntimeException(sprintf('The binding "%s" does not exist.', $uuidPrefix));
        }

        if (count($descriptors) > 1) {
            throw new RuntimeException(sprintf(
                'More than one binding matches the UUID prefix "%s".',
                $uuidPrefix
            ));
        }

        return reset($descriptors);
    }
610634
public function getElementName($index, $withPrefix = true)
    {
        if ($index === null) {
            $index = '{' . $this->renderer->getIndexPlaceholder() . '}';
        }

        $elementName = '[' . $index . '][' . $this->name . ']';
        $prefix = $withPrefix ? $this->getModel()->formName() : '';

        return $prefix . $elementName . (empty($this->nameSuffix) ? '' : ('_' . $this->nameSuffix));
    }