src/Repositories/CategoryVarcharRepository.php
/**
     * Returns the category varchar values for the categories with
     * the passed with the passed entity ID.
     *
     * @param int $entityId The category ID
     *
     * @return array The category varchar values
     */
Returns the category varchar values for the categories with
the passed with the passed entity ID.

@param int $entityId The category ID

@return array The category varchar values
Returns the category varchar values for the categories with the passed with the passed entity ID . @param int $entityId The category ID @return array The category varchar values
public function findByEntityId($entityId)
    {
        $sql = str_replace('?', $entityId, $this->loadStatement(SqlStatementKeys::CATEGORY_VARCHARS_BY_ENTITY_IDS));
        if ($stmt = $this->getConnection()->query($sql)) {
            return $stmt->fetch();
        }
    }
public function findByEntityId ( $ entityId ) { $ sql = str_replace ( '?' , $ entityId , $ this -> loadStatement ( SqlStatementKeys :: CATEGORY_VARCHARS_BY_ENTITY_IDS ) ) ; if ( $ stmt = $ this -> getConnection ( ) -> query ( $ sql ) ) { return $ stmt -> fetch ( ) ; } }
Returns the category varchar values for the categories with
 the passed with the passed entity ID.
Returns the category varchar values for the categories with the passed with the passed entity ID .
// prepare the cache key // load the categories with the passed values and return them