src/snac/client/openrefine/ORConstellationMapper.php
/**
     * Filter Properties by Prefix
     *
     * Performs a case-insensitive linear search of the properties. This is
     * used when the OpenRefine suggest API is called to find a property. It
     * matches on a prefix (starts-with search)
     *
     * @param string $prefix The search query
     * @return array An array of property objects in OR format
     */
Filter Properties by Prefix
Performs a case-insensitive linear search of the properties. This is
used when the OpenRefine suggest API is called to find a property. It
matches on a prefix (starts-with search)

@param string $prefix The search query
@return array An array of property objects in OR format
Filter Properties by Prefix Performs a case - insensitive linear search of the properties . This is used when the OpenRefine suggest API is called to find a property . It matches on a prefix ( starts - with search ) @param string $prefix The search query @return array An array of property objects in OR format
public function filterPropertiesPrefix($prefix) {
        $return = [];
        foreach ($this->properties as $p) {
            if (stripos($p["name"], $prefix) !== false && stripos($p["name"], $prefix) == 0)
                array_push($return, $p);
        }
        return $return;
    }
public function filterPropertiesPrefix ( $ prefix ) { $ return = [ ] ; foreach ( $ this -> properties as $ p ) { if ( stripos ( $ p [ " name " ] , $ prefix ) !== false && stripos ( $ p [ " name " ] , $ prefix ) == 0 ) array_push ( $ return , $ p ) ; } return $ return ; }
Filter Properties by Prefix
 Performs a case-insensitive linear search of the properties.
Filter Properties by Prefix Performs a case - insensitive linear search of the properties .